In my grid view there are 9 items. When user clicks an item I want to send user to another activity with a list view. But List view items are populated from a SQLite DB and it depends on the item which user clicks.
Ex: If user click the 1st item on the grid view , list view should populate with according to the 1st item .
As an example query should be like following code.
SELECT organization_name from TABLE_NAME where CATEGORY_ID=ItemIdOfGridView
Where do I put this query in onItemClick of GridView ?
Aucun commentaire:
Enregistrer un commentaire