问题
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