Open Stevemoretz opened 5 years ago
@Stevemoretz, thank for the message, actually the sticky header wasn't tested with this layout. It looks unsupported then, but I can't say anything more until I try. Sincerely, I can't now.
Ok man thanks for the reply.Give it a try and let us know!motion layouts are brilliant!
Facing the same problem using the ATM newest library androidx.constraintlayout:constraintlayout:2.0.0-alpha4
Its sufficient to just replace any parent layout with MotionLayout. Even without any specific MotionLayout events like swiping this behavior occurs.
Played around a little bit, and it seems like the properties of the added FrameLayout containing the sticky header does not get measured. I can see it in the LayoutInspector but with measuredWidth/height == 0
Confirmed! Not working with the motion layout. Any animation does not work. Still no solution?
When I use a recyclerview in a motionlayout and swipe it up I see the the recyclerView and eveything works perfectly the only problem is stickyHeaders don't work if after the motionlayout,Is swiped up I swipe it down a little and then use recyclerview it works.But can I do anything in the code so I get this fixed?
and scene3.xml