KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I want to display Arraylist items in Gridview. My Arraylist is like this : 1 Hello Hello 2 Hello Hello If I bind it to a gridview control like this : ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1, event_list); gridview.setAdapter(adapter); event_List is my Arraylist. Through this approach I get a complete Arraylist row or record in a cell of gridview . I want to display each item like "Hello" of Arraylist in each cell of gridview. Like 1 in one cell , "Hello" in another cell and so on. Thanks in advance
Tags (comma-separated)
Save Edits
Cancel