开发者

Android looping infinite ListView?

开发者 https://www.devze.com 2023-01-26 04:49 出处:网络
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

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 开发者_如何学Cwrite 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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消