Last active
May 1, 2021 10:16
-
Star
(188)
You must be signed in to star a gist -
Fork
(78)
You must be signed in to fork a gist
-
-
Save romannurik/2980593 to your computer and use it in GitHub Desktop.
**BETA** Android 4.0-style "Swipe to Dismiss" sample code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Moved to | |
https://github.com/romannurik/android-swipetodismiss |
You might want to make a temporary cursor that manually hides the dismissed indices while the updated cursor loads. Something like this https://gist.github.com/cornwe19/6be23fde488c577691d3 might accomplish what you need.
Very good library , i am using it.
Please help me ,How to handle left and right swipe?
Thanks In Advance
Thanks a lot.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Yougin I haven't tried but this can solve it. You can disable automatic loading of the
CursorLoader
using a customCursorLoader
. Chris Banes does it in his open-sourcePhotup
application. https://github.com/chrisbanes/photup/blob/master/client/src/uk/co/senab/photup/util/PhotupCursorLoader.java