Basbous
Basbous

Reputation: 3925

How can I make a separator between rows of row in List View?

I want to make a list view of names. But I need know how can I put the letter A in the top of rows that start with A and so on.

Upvotes: 0

Views: 636

Answers (2)

Lalit Poptani
Lalit Poptani

Reputation: 67296

You need to use Section Adapter here are some links with full source that could help you.

How ListView works with complete example including a seperator

Section Adapter source code

UPDATE:

You can also use ExpandableList for the same

ExpandableListActivity Example

Expandable list with CWAC

Upvotes: 1

Herry
Herry

Reputation: 7087

@Hello What you are looking for it is show in this Click Here and you can also use this Green Droid Library to get Good UI Support. Here link of Green Droid lib Green Droid link

Upvotes: 0

Related Questions