Start by creating a new Android Application project:
Now that you have your new project set up follow the Android Studio import instructions to add a dependency to the shinobigrids library from your application. If you are using Eclipse then you can follow the Eclipse import instructions.
In the activity_quick_start.xml file of your application, which can be found in the res/layout folder, replace the TextView element with a ShinobiGridView:
<com.shinobicontrols.grids.core.ShinobiGridView android:id="@+id/my_grid" android:layout_width="match_parent" android:layout_height="match_parent" />
In QuickStartActivity.java we are going to obtain a reference to our ShinobiGridView. In the onCreate method add the following code:
ShinobiGridView shinobiGridView = (ShinobiGridView) findViewById(R.id.my_grid);
You will need to import the ShinobiGridView class.
Tip: In Android Studio use Alt+Enter to perform a quick fix such as importing a class
If you are working with the trial library you will have been given a trial license key. You’ll need to set this key on the ShinobiGridView as follows:
Make sure you change <trial_license_key_here> to the trial license key you were given!
Note: If you have purchased a licensed version of the library you will not need to set a trial license key. If you have purchased a license, please ensure you are referencing the licensed, rather than the trial version of the library within your project.