Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android looping infinite ListView?

I'd like to make a looping ListView. That means, it behaves a bit like the picker widget on iOs, so when the user scrolls either up or down, the list just keeps looping its contents. I'd guess that one needs to write some fancy custom adapter for this, but I'm not sure if it's possible.

Afaik, the ListView needs to know the number of elements containted in the adapter in advance. That would be a problem in this case, for example.

Do you have any tips on this matter?

Thanks

like image 245
Zsombor Erdődy-Nagy Avatar asked Nov 18 '10 07:11

Zsombor Erdődy-Nagy


1 Answers

Do you mean a circular ListView? A similar question has been asked in the past.

like image 54
kgiannakakis Avatar answered Sep 27 '22 18:09

kgiannakakis