Skip to content
Commit a7cb6978 authored by Zhen Zhang's avatar Zhen Zhang
Browse files

Don't let RecyclerView consume fling action when there is no further space.

Before dispatch nested fling, check if there is any further space available
in the requested direction. If yes, set consumed to true; otherwise, false.
This can help list area in sharesheet responds to fling action to collapse.

Bug: 145998887
Test: manually tests. Fling down list area
will collapse sharesheet when list area reach its top edge; otherwise,
the list area itself will fling.

Change-Id: I060a1a91d6bdb0f3d6d0f825b065449223593bfc
parent 8e958350
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment