Mark Korzhov
Mark Korzhov

Reputation: 2159

Structure of the elements list in Android

I'm trying to do a similar structure:

view sample

Which element is better to use in this case? ListView or something else? Each line must be clickable. "First Text", "Second Text" and "Third Text" will be added programmatically.

Upvotes: 1

Views: 440

Answers (2)

Ismail Sahin
Ismail Sahin

Reputation: 2710

You should create your own view instead of using listView and you will need to customize adapter for this. Anyway here is a nice implementation of this concept. I think it will help

Upvotes: 3

Chad Bingham
Chad Bingham

Reputation: 33856

Yes you will need to create a list with a custom row, and a adapter. Take a look at this. it should work

Upvotes: 2

Related Questions