如何在android中的Viewpager中添加imageURL。我需要平滑的滑动动作

发布于 2025-01-08 09:36:10 字数 173 浏览 3 评论 0原文

如何在viewpager中加载imageURL? 实际上我在没有寻呼机的情况下实现了该任务,我使用手势来做到这一点,但我需要在寻呼机的帮助下显示图像。 我看过很多例子,但我无法理解,问题是我自己有 ImageURl[] 数组,在 Gridview 中显示图像,如果我单击特定图像,它应该显示当前图像,并且在滑动其他图像时应该跟随。

How to load imageURL in viewpager?
Actually i implemented the task without pager,i used Gesture to do so,but i need to display rhe images with the help of pager.
I had seen many examples but i cant understand,the thing is myself having array of ImageURl[],showing images in Gridview,if i clicks the particular image it should display the current image and while swiping other images should be followed.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文