https://github.com/iPaulPro/Android-ItemTouchHelper-Demo
Basic example of using ItemTouchHelper to add drag & drop and swipe-to-dismiss to RecyclerView.
https://github.com/iPaulPro/Android-ItemTouchHelper-Demo
Last synced: 6 months ago
JSON representation
Basic example of using ItemTouchHelper to add drag & drop and swipe-to-dismiss to RecyclerView.
- Host: GitHub
- URL: https://github.com/iPaulPro/Android-ItemTouchHelper-Demo
- Owner: iPaulPro
- License: apache-2.0
- Created: 2015-06-14T22:08:17.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2022-04-13T07:12:04.000Z (over 3 years ago)
- Last Synced: 2025-05-22T15:15:01.111Z (8 months ago)
- Language: Java
- Size: 277 KB
- Stars: 2,503
- Watchers: 78
- Forks: 494
- Open Issues: 45
-
Metadata Files:
- Readme: README.markdown
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-android-ui - https://github.com/iPaulPro/Android-ItemTouchHelper-Demo
README
## Another drag and swipe library?
This project is an example of basic drag & drop and swipe-to-dismiss with `RecyclerView` using `ItemTouchHelper`. It corresponds with an article series found here:
[Drag and swipe with RecyclerView](https://medium.com/@ipaulpro/drag-and-swipe-with-recyclerview-b9456d2b1aaf)
The classes in [co.paulburke.android.itemtouchhelperdemo.helper](https://github.com/iPaulPro/Android-ItemTouchHelper-Demo/tree/master/app/src/main/java/co/paulburke/android/itemtouchhelperdemo/helper) can easily be used in other projects.
Download the apk from [releases](https://github.com/ipaulpro/Android-ItemTouchHelper-Demo/releases).
## Credits
Developed by Paul Burke ([iPaulPro](https://github.com/iPaulPro)) - [paulburke.co](http://paulburke.co/)
## License
Copyright (C) 2015 Paul Burke
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.