xref: /aosp_15_r20/development/samples/browseable/SwipeRefreshMultipleViews/_index.jd (revision 90c8c64db3049935a07c6143d7fd006e26f8ecca)
1*90c8c64dSAndroid Build Coastguard Worker
2*90c8c64dSAndroid Build Coastguard Workerpage.tags="SwipeRefreshMultipleViews"
3*90c8c64dSAndroid Build Coastguard Workersample.group=UI
4*90c8c64dSAndroid Build Coastguard Worker@jd:body
5*90c8c64dSAndroid Build Coastguard Worker
6*90c8c64dSAndroid Build Coastguard Worker<p>
7*90c8c64dSAndroid Build Coastguard Worker
8*90c8c64dSAndroid Build Coastguard Worker            A sample which shows how to use SwipeRefreshLayout to add the \'swipe-to-refresh\'
9*90c8c64dSAndroid Build Coastguard Worker            gesture to a layout with multiple children, enabling the ability to trigger a
10*90c8c64dSAndroid Build Coastguard Worker            refresh from swiping down on the visible view. In this sample, SwipeRefreshLayout
11*90c8c64dSAndroid Build Coastguard Worker            contains a scrollable GridView, along with a TextView empty view.
12*90c8c64dSAndroid Build Coastguard Worker
13*90c8c64dSAndroid Build Coastguard Worker        </p>
14