how to change next page using swipeview in android?

六眼飞鱼酱① 提交于 2019-12-24 14:02:05

问题


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


回答1:


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.




回答2:


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

Check the complete code here




回答3:


Try the links hope it may help you

http://developer.android.com/guide/components/fragments.html

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

http://thepseudocoder.wordpress.com/2011/10/05/android-page-swiping-using-viewpager/



来源:https://stackoverflow.com/questions/14393799/how-to-change-next-page-using-swipeview-in-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!