androidandroid-layoutlistviewrecyclerview-layoutcircular-list

Dynamic Circular Recycle view List


I want to create a circular recycle view, where I can populate or change list items on circular motion of my recycle view as shown in the image below. On circular motion the items needs to be changed/replaced as we do in recycle view scroll.

I am unsure about the feasibility for the same, but any help will be appreciated.

CircularRecycleView image


Solution

  • You would need to use a custom LayoutManager on your RecyclerView. Luckily for you, there are a few out there, so you don't have to create yours yourself.

    CircularLayoutManager

    CircleLayoutManager

    LondonEyeLayoutManager

    Simply replace your GridLayoutManager or LinearLayoutManager with any of these. And you should be good to go