I am working on an app in which i want to swipe image horizontally and while making swiping to half it would do some action and it would regain its original position. this is to be done in both ways left and right swipe.for an example gmail app uses this, in which when we swipe it half and left it, it will regain its same position. but in similar terms i also want to make some function call. please suggest me what to do. for this i have tried something swipe features but i am not getting it properly.
Asked
Active
Viewed 122 times
-1
-
give us some more information (like the codes you already tried) – codermaster Nov 19 '14 at 10:58
1 Answers
-1
If I got ur question correct, this is the solution
http://developer.android.com/training/implementing-navigation/lateral.html#horizontal-paging

shijin
- 2,998
- 1
- 24
- 30
-
actually i dont want to swipe it for transfering it to different tabs. i want to make a half swipe to right on image and image will be liked and when i pick finger,it should come to its original postion. when i do a half left swipe on image it will be disliked and when i pick finger image should come to its original post. – Amol Nov 19 '14 at 11:17