I\'m getting data from DB and displayed in a GridView
fine. But I need to put a separate button below each text displayed. When I click the button, I have to do
Use SimpleAdapter for GridView. This is the best way to design view of each item.
For example, http://wptrafficanalyzer.in/blog/listing-images-in-gridview-using-simple-adapter-in-android/
Instead of using CustomListAdapter, you will have to create your own adapter that extends BaseAdapter, create a layout for each grid item (extend LinearLayout) in this class have your textview then a button.
Nice Tut:
Custom GridView