How GridLayout items come from the Adapter(List/Image) in Android App
Is it possible to Get the GridLayout items from the Adapter in Android. Like, The items in the GridView come from the ListAdapter associated with this view. Please clarify my doubt.. Thanks Gridlayout doesn't have any Adapters as its not derived from AbsListView . Only GridView comes with Adapters. Yes, it is possible. You don;t say what you are using to create the GridView. Following is an example of getting the data from a cursor when you click on a cell of the grid (and putting it into an intent to call another activity): gridview.setOnItemClickListener(new OnItemClickListener() { public