How to create material design like custom scrollbar with numbers and alphabets bubble in recyclerview

前端 未结 4 852
春和景丽
春和景丽 2021-01-30 07:18

In many new android applications and their latest update those applications(mostly material design) have a custom scrollbar with letters and numbers, while scrolling the scrollb

4条回答
  •  自闭症患者
    2021-01-30 07:37

    For anyone still looking for an answer for this. I have found a number of libraries which provide this functionality:

    1. https://github.com/krimin-killr21/MaterialScrollBar
    2. https://github.com/plusCubed/recycler-fast-scroll
    3. https://github.com/danoz73/RecyclerViewFastScroller
    4. https://github.com/timusus/RecyclerView-FastScroll

    All of the above provide FastScroll mechanism (what you're looking for) - though some look nicer than others.

    I have found the MaterialScrollBar easiest to get set with up and use, as well as the fact that it has the nicest cosmetics (adheres to material design guidelines and looks just like Contacts app).

    This library is also actively maintained and developed, issues & PR's being closed etc.

    Hope this may help someone as I spent a lot of time looking for this myself.

提交回复
热议问题