mirror of
https://github.com/material-components/material-components-android.git
synced 2026-02-20 08:39:55 +08:00
Modification of findScrollingChild() that only returns a view if it has nested scrolling enabled (instead of just implementing NestedScrollingChild). As to prevent an incorrect view being referrenced, leading to incorrect behavior when scrolling. Test: added BottomSheetBehaviorTest.testFindScrollingChildEnabled() that tests that an enabled NestedScrollView contained within a disabled NestedScrollView parent is returned by findScrollingChild(parent) Change-Id: I9841db9c67520f858913a5109dc08ffed9e53568 PiperOrigin-RevId: 151889793
tests
This directory contains the sources for the emulator tests for this library, which exercises a test application located in the ../testing directory.