android - How to implement swipe gestures on listview -


i beginner android. want learn how implement following. check image:

enter image description here

here want implement:

as shown in figure, need swipe listview left - - right , viceversa. have display data according date. when activity starts, list items shown according current date. if swipe listview right left tommorrows date should displayed in date tab , data set of listview should contain items of tommorrows date.

similarly, when swiping left right, previous date should shown , data related previous date listed in listview.

my applicaion has minimum sdk of android 2.2

please me implement this. in advance.

use viewpager depending on needs.....check out..

http://developer.android.com/reference/android/support/v4/view/viewpager.html

http://developer.android.com/training/animation/screen-slide.html

https://github.com/jakewharton/android-viewpagerindicator

there lot of tutorials......


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -