Closed or circular Horizontal ListView Android -


I have horizontal list view , I want the list view to be closed. For example, if the last item has reached Listview , show the first item below the last item that means the item should be in circular format. And if I scroll through the first object, then it should first show the last item before the item. I want scrolling for both sides.

The image below can tell you what exactly i want horizontal list view

This is showing 5 items in the first image and when scrolling list view , the item should be scrolled as shown Second Image Thanks in advance.

According to your requirement you circular / infinite scrolling horizontal list view , < / P>

This can help you. You need to update this library as per its requirement and change ImageView to any other that you want to scroll horizontally.

Edit - The solution below works circularly on one side for scrolling list view:

Apply it to see one Circular List Adapters And As Your List View Is Horizontal, check this to create custom custom horizontal list views.

Happy coding :)

Comments

Popular posts from this blog

python - Writing Greek in matplotlib labels, titles -

c# - LINQ to Entities does not recognize the method 'Int32 IndexOf(System.String, System.StringComparison)' method -

Pygame memory leak with transform.flip -