timusus / RecyclerView-FastScroll

A simple FastScroller for Android's RecyclerView
Other
1.39k stars 182 forks source link

how to show recyclerview item first letter in bubblText #66

Closed abunayem closed 6 years ago

abunayem commented 7 years ago

it's working very well. but I want to show item first letter in bubbleText. how can I achieve this?

G00fY2 commented 6 years ago

Your adapter must implement getSectionName(). There you can return everything you like. For example only the first letter of a string attribute of your item.

Maybe show some code with your current adapter implementation.