图像刷卡和按钮改变,以及 [英] Image swiping and changing with buttons as well

查看:130
本文介绍了图像刷卡和按钮改变,以及的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图使一个画廊app.I有两个按钮'下一个'和'回',当我在一个按钮preSS的我需要显示一个图像还我需要通过滑动来改变图像。我曾尝试与图像适配器。但我不知道改变的按钮图像。

I am trying to make a gallery app.I have two buttons for 'next' and 'back' when i press on next button the i need to show the next image also i need to change the images by swiping. I have tried with image adapter. but i dont know to change the images with buttons.

推荐答案

尝试使用这个 供您参考教程的按钮执行图库

在本教程中我使用箭头作为按钮的下一步 previous

In this tutorial I use Arrow buttons for next and previous.

我实现了在本教程中的一些更多的功能。

I implement some more functionality in this tutorial.

这样的:

拇指完整图像查看屏幕。

从中选择亮点拇指图片

通过箭头按钮你也改变影像(下一个/ previous)。

By Arrow buttons also you change the images(next/previous).

这篇关于图像刷卡和按钮改变,以及的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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