Android-ItemTouchHelper-Demo
Android-ItemTouchHelper-Demo copied to clipboard
Support library 23.1 update breaks swipe to remove
If you update build.grade to use API 23 and associated dependencies, when swiping an item from the recycler view a gap can then appear when scrolling.
Steps to reproduce:
- Clone repository
- Open project using Android Studio
- Add extra 10 items to strings.xml
<array name="dummy_items">
to give a bigger scrolling list - Update build.gradle to use API 23
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
defaultConfig {
applicationId "co.paulburke.android.itemtouchhelperdemo"
minSdkVersion 16
targetSdkVersion 23
versionCode 3
versionName "1.1"
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:design:23.1.0'
compile 'com.android.support:recyclerview-v7:23.1.0'
}
@dream09 Same issue here. I hope it is fixed soon.
The bug has been fixed, it works fine in 23.1.1.
@nor13 Thanks for the update, just tested and all good again using 23.1.1.
@dream09 Great! Thank you.
Hello guys,
I still see the same problem with 23.1.1 any solution?
Same problem in 23.1.1.
Update to 23.2.1