how to change next page using swipeview in android

2019-07-31 13:14发布

am new to android.am doing simple aphabate app.in that app am using alphabetes letters.when swipe on the letter how it will move to next letter.please give me suggestions

thanks in advance

4条回答
Fickle 薄情
3楼-- · 2019-07-31 13:56

I would like to suggest u to tak a look at the following Android Dev blog post about using ViewPager in the Android Compatibility Package to implement the swipe functionality you're looking for:

http://android-developers.blogspot.com/2011/08/horizontal-view-swiping-with-viewpager.html

The recommended approach is most likely to use a Fragment for the chat history and text input field as this will give you the most flexibility across devices.

查看更多
我命由我不由天
5楼-- · 2019-07-31 14:05

Try this link: In this link he is showing listview item on swipe.

enter image description here

enter image description here

Check the complete code here

查看更多
登录 后发表回答