I am new to android,
I have six images in a fragment which is in a scrollview, one over the other,like a stack.
Objective :
- User should be able to add remove item in the basket.
- User drags item to the right of the screen item is added to the basket, and images comes back to its position.
- User drags item to the left of the screen item is removed of the bucket, and images comes back to its position.
I will be able to handle, putting item into the basket etc, only thing which I am curious is drag elastic effect, and I am sure there must be some way to achieve it.
I will really appreciate if someone point/show me a way to achieve it.
This is what I am trying to achieve. Pulling/dragging image right, adds item to basket
By pulling/dragging image left removes item from the basket.
Thanks, Shashank
1: