what is gridview in android?
A GridView is a type of AdapterView that displays items in a two-dimensional scrolling grid. Items are inserted into this grid layout from a database or from an array. The adapter is used for displaying this data, setAdapter() method is used to join the adapter with GridView. The main function of the adapter in GridView is to fetch data from a database or array and insert each piece of data in an appropriate item that will be displayed in GridView. This is how the GridView structure looks like. Note that we are going to implement this project using the Java language.
what is gridview in android:
android. widget.GridView. A view that shows items in a two-dimensional scrolling grid. The items in the grid come from the ListAdapter associated with this view.
No comments:
Post a Comment