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
Loading
Please register or sign in to comment