Skip to content

Releases: davidmigloz/drag-to-close

v2.0.0

05 Nov 15:26
7571915
Compare
Choose a tag to compare
  • BREAKING CHANGE: minSdkVersion increased to 21 (Lollipop)
  • Target Android 12 (API 31)
  • Update dependencies / Remove JCenter
  • Propagate insets to children views

v1.1.0

04 Dec 11:35
7955469
Compare
Choose a tag to compare
  • 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

v1.0.0

20 Dec 11:51
Compare
Choose a tag to compare
  • Migrate project to Kotlin #22
  • Add dragtoclose_ resource prefix #24 (breaking change)
  • Add onDragging(dragOffset) callback method #21 (breaking change)

Migration

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

v0.3.1

26 Nov 15:35
Compare
Choose a tag to compare
  • Card gets stuck if you touch it while it's been closed programmatically #20

v0.3.0

26 Nov 13:09
Compare
Choose a tag to compare
  • Migrate to AndroidX #12 (only compatible with projects that have been migrated to androidx)

v0.2.0

26 Nov 13:06
Compare
Choose a tag to compare
  • Update gradle, compileSdkVersion, buildToolsVersion and targetSdkVersion
  • Check if draggableContainer or draggableView is null #16

v0.1.0

26 Nov 13:07
Compare
Choose a tag to compare
  • Drag down a draggable container from a draggable view.
  • Close activity when draggable container is dragged out.
  • Open / close draggable container programmatically.
  • Slide down draggable container by clicking on draggable view.
  • Listen to drag events.