android-motionlayout

Motionlayout: WARNING could not find view id -1

佐手、 提交于 2020-12-15 19:32:14
问题 My problem is, that I constantly get the warning W/MotionLayout: WARNING could not find view id -1 . Because of this, my MotionLayout is really laggy and nearly jumps from the expanded state to the collapsed state . After waiting a couple of seconds, the animation starts getting better (no jumping / laggs anymore), but the warning remains. Base XML <layout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas

Motion layout(alpha4) issue with recyclerview onswipe item

我的梦境 提交于 2020-08-06 05:42:37
问题 I am using alpha4 implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha4' of constraint layout. First I created a single layout and do onswipe animation it is working perfectly with motion layout then I patched the layout with a recyclerview. Now problem comes into picture Issue: If I am doing onswipe in a particular item of rv then it's getting lagged. Suppose I am doing swipe on the 1st item of the rv now after full swipe you will find that same swiped has already happen