Skip to content

Releases: wdullaer/SwipeActionAdapter

SwipeActionAdapter v2.1.0

10 Mar 11:00
Compare
Choose a tag to compare

Changes

Fixes #59 - Added 2 new optional callbacks so you can be notified when a swipe has started and ended. This allows you to disable any other libraries which might try to grab the swipe action

dependencies {
  compile 'com.wdullaer:swipeactionadapter:2.1.0'
}

SwipeActionAdapter v2.0.0

14 Nov 14:51
Compare
Choose a tag to compare

API Change!

This new version will require you to modify your existing code:

  • SwipeDirections has been renamed to SwipeDirectionand is now an enum type
  • hasActions takes an additional SwipeDirection parameter

Changes

  • Fixes #37 #6 - You can now disable swipes in a direction in the hasAction callback
  • Fixes #38 #27 - The library should now support rows with different heights
  • Fixes #33 - Fixed rendering issues with older versions of android

Get it by downloading the attached jar or modifying your build.gradle to

dependencies {
  compile 'com.wdullaer:swipeactionadapter:2.0.0'
}

SwipeActionAdapter v1.4.4

14 Jul 17:33
Compare
Choose a tag to compare

Changes

Fixes #24 : The adapter will now pass on the checked state if the child item implements Checkable

Get it by downloading the attached jar or modifying your build.gradle to

dependencies {
  compile 'com.wdullaer:swipeactionadapter:1.4.4'
}

SwipeActionAdapter v1.4.3

28 Jun 10:06
Compare
Choose a tag to compare

Changes

Fixed a bug where the ListView wouldn't properly refresh when using an ArrayAdapter as BaseAdapter

Get it by downloading the attached jar or modifying your build.gradle to

dependencies {
  compile 'com.wdullaer:swipeactionadapter:1.4.3'
}

SwipeActionAdapter v1.4.2

16 May 19:11
Compare
Choose a tag to compare

Changes

Ensured that swipebackgrounds are always invisible after the swipe animation ends. Thanks to @dmapr for pointing this out and supplying the majority of the code for a fix.

Get it by downloading the attached jar or modifying your build.gradle to

dependencies {
  compile 'com.wdullaer:swipeactionadapter:1.4.2'
}

SwipeActionAdapter v1.4.1

02 May 00:25
Compare
Choose a tag to compare

Changes

Fixed a bug where click events would no longer reach the parent ListView in case the row had another clickable item such as a Button

Get it by downloading the attached jar or modifying your build.gradle to

dependencies {
  compile 'com.wdullaer:swipeactionadapter:1.4.1'
}

SwipeActionAdapter v1.4.0

26 Apr 06:17
Compare
Choose a tag to compare

Changes

  • The threshold where a swipe will trigger the normal action can now be configured through setNormalSwipeFraction()
  • The backgrounds can now be dimmed before they are triggering an action by setting setDimBackgrounds(true)

Get the latest version by downloading the attached jar or by updating your build.gradle dependencies to

dependencies {
  compile 'com.wdullaer:swipeactionadapter:1.4.0'
}

SwipeActionAdapter v1.3.2

05 Jan 17:16
Compare
Choose a tag to compare

Changes

  • Fixes #8: The threshold where a swipe becomes a far swipe can now be configured

SwipeActionAdapter v1.3.1

02 Jan 13:26
Compare
Choose a tag to compare

Changes

  • Fixes #7
  • Far boolean gets reset when the direction changes
  • Cancel ListView onTouch only once (fixes a stutter when changing swipe directions)

SwipeActionAdapter v1.3.0

14 Dec 17:56
Compare
Choose a tag to compare

Changes

  • Fixed a bug where you couldn't swipe a list item if the swipe started on a clickable child of the list item (say a button)