- BREAKING CHANGE: minSdkVersion increased to 21 (Lollipop)
- Target Android 12 (API 31)
- Update dependencies / Remove JCenter
- Propagate insets to children views
- Unregister dragging listener when closing card programmatically #13
- Fix onViewCosed() never called if the screen size changes while closing view #25
- Target Android 10 (API 29)
- Update dependencies
- Migrate project to Kotlin #22
- Add dragtoclose_ resource prefix #24 (breaking change)
- Add onDragging(dragOffset) callback method #21 (breaking change)
Add the prefix dragtoclose_
to all the library attributes.
E.g.
Before: drag:draggableContainer="@+id/card"
Now: drag:dragtoclose_draggableContainer="@+id/card"
Add the new method onDragging(dragOffset)
to your DragListener
- Card gets stuck if you touch it while it's been closed programmatically #20
- Migrate to AndroidX #12 (only compatible with projects that have been migrated to androidx)
- Update gradle, compileSdkVersion, buildToolsVersion and targetSdkVersion
- Check if draggableContainer or draggableView is null #16
- Initial release