FlowLayoutManager icon indicating copy to clipboard operation
FlowLayoutManager copied to clipboard

MotionLayout scroll transition not working

Open LetrixZ opened this issue 5 years ago • 0 comments

I'm trying to run a MotionLayout transition when RecyclerView is scrolled. The problem is that using this LayoutManager the onSwipe isn't being called. With LinearLayoutManager or GridLayoutManager I don't have this problem. It only works if I scroll the view that is affected.

<Transition
    app:constraintSetEnd="@+id/end"
    app:constraintSetStart="@+id/start"
    app:duration="0">
    <OnSwipe
        app:dragDirection="dragUp"
        app:moveWhenScrollAtTop="false"
        app:touchAnchorId="@+id/recycler_view"
        app:touchAnchorSide="top"
        motion:onTouchUp="stop" />
</Transition>

LetrixZ avatar Aug 09 '20 03:08 LetrixZ