ViewPager - 无限滚动? [英] ViewPager - Infinite Scroll?

查看:126
本文介绍了ViewPager - 无限滚动?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要显示在屏幕文本或图像。文本或图像(一个请求共10个)从我的服务器通过HttpClient的进账。当用户扫描到右侧,到达8幻灯片,我需要得到下一组从服务器10文本或图像。这可能使用ViewPager?

I need to show either text or images in the screen. The text or images (total 10 for one request) are fetched from my server through HttpClient. when the user swipes to the right and reaches 8th slide I need to get the next set of 10 text or images from the server. Is this possible using ViewPager?

任何实例或指针将是巨大的。

Any examples or pointers would be great.

推荐答案

我已经经历了同样的问题,走了,但的https:/ /github.com/antonyt/InfiniteViewPager
解决了我的问题。希望这将帮助你。

I have gone through same problem but https://github.com/antonyt/InfiniteViewPager solves my problem. Hope it will help you too.

谢谢!

这篇关于ViewPager - 无限滚动?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆