Releases: wdullaer/SwipeActionAdapter
SwipeActionAdapter v2.1.0
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
API Change!
This new version will require you to modify your existing code:
SwipeDirections
has been renamed toSwipeDirection
and is now an enum typehasActions
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
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
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
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
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
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
Changes
- Fixes #8: The threshold where a swipe becomes a far swipe can now be configured
SwipeActionAdapter v1.3.1
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
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)