MotionLayout header expanded on first swipeUp

170 views Asked by At

In my case I have a motionLayout containing a header and a recyclerView as anchor, the header is supposed to collapse at the first down swipe, and expanded when the last possible swipe up happens (position 0 in the recycler view). The default behaviour is expanding the header when the first swipe up happens. Is there a flag or an attribute that allows me to alter this behaviour? Thanks!

1

There are 1 answers

1
hoford On

moveWhenScrollAtTop="true|false"