Android-ItemTouchHelper-Demo icon indicating copy to clipboard operation
Android-ItemTouchHelper-Demo copied to clipboard

Support library 23.1 update breaks swipe to remove

Open dream09 opened this issue 9 years ago • 7 comments

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.

screenshot_20151023-112648

Steps to reproduce:

  1. Clone repository
  2. Open project using Android Studio
  3. Add extra 10 items to strings.xml <array name="dummy_items"> to give a bigger scrolling list
  4. 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 avatar Oct 23 '15 10:10 dream09

@dream09 Same issue here. I hope it is fixed soon.

AkshayChordiya avatar Nov 04 '15 10:11 AkshayChordiya

The bug has been fixed, it works fine in 23.1.1.

nor13 avatar Nov 13 '15 10:11 nor13

@nor13 Thanks for the update, just tested and all good again using 23.1.1.

dream09 avatar Nov 13 '15 11:11 dream09

@dream09 Great! Thank you.

AkshayChordiya avatar Nov 13 '15 12:11 AkshayChordiya

Hello guys,

I still see the same problem with 23.1.1 any solution?

hatpick avatar Dec 20 '15 14:12 hatpick

Same problem in 23.1.1.

MichaelObi avatar Feb 21 '16 05:02 MichaelObi

Update to 23.2.1

jaredsburrows avatar Mar 31 '16 07:03 jaredsburrows