I am beginner to android. I want to learn how to implement the following. Check this image:
Here is what i want to implement:
As shown in figure, i need to swipe listview from left - to - right and viceversa. I have to display some data according to date. When this activity starts, the list items are shown according to current date. If i swipe the listview from right to left then tommorrows date should be displayed in the date tab and the data set of the listview should now contain the items of tommorrows date.
Similarly, when swiping from left to right, previous date should be shown and the data related to previous date is to be listed in the listview.
My applicaion has minimum sdk of android 2.2
Please help me implement this. Thanks in advance.