Index based List view using android - android

I am currently working on an Android application which shows various lists. I would like to create a list view like this: .. How can I achieve this? I tried AlphabetIndexer for fastscrolling ListView, and IndexableListView. But I couldn't do it like this. Kindly help me in this, thanks in advance.

Use ExpandableListView. It does exactly what you need.

Related

Recyclerview item custom span

I'm implementing an image selection screen that looks like the below image
I want to use recyclerview to implement this but don't know how to do it.
Help me to figure out it.
Thanks in advance!!
[Edit]: number of items is not fixed.
Actually, I got a library named SpannedGridLayoutManager that fulfills my requirement.

Android List view layout Similar to Google play cell (like square)?

I know how to implement listview custom cell, but I need to custom my listview cell like square, and I have no idea. Please help.. thanks
Update:
There is a new fork at https://github.com/elliottsj/Cards-UI
Cards-UI is a library that might help you do that.

Android Listview help

I am trying to create a ListView like this. I played around with ListView control but still no luck. If any one could tell me how to do this or give me a link to a sample code highly appreciated.
looks like simple listview with background color and added order numbers. you know already how to set the color. if it comes to numbers I'd use SimpleCursorAdapter to create list and ViewBinder to add numbers
use
android:cacheColorHint="#00000000" in your list view, if it is color thing that you are worrying about.

Sort expandable listview

I want to sort an expendable listview dynamically. Could someone tell me how to accomplish this?
I've tried sorting the group name but then the child elements don't get sorted.
I think we would need more details about the code, without the code it's hard to tell but anyway here is a link to some code maybe it will help you:
https://github.com/commonsguy/cwac-touchlist
Basically what I did was sort it using custom comparator methods.

Expanding List? (android)

So i want to make a list that has a number of items on the list but when a item is clicked i would like it to expand in the list to revile more information
i have done something similar with java script before but searching google isnt helping me :(
Does any one know a way i can achieve this or will i be stuck using multiple pages.
I think you are looking for Expandable listView. You can check the example here
Hope this may help u..

Categories

Resources