xref: /aosp_15_r20/development/samples/browseable/SwipeRefreshLayoutBasic/_index.jd (revision 90c8c64db3049935a07c6143d7fd006e26f8ecca)
1*90c8c64dSAndroid Build Coastguard Worker
2*90c8c64dSAndroid Build Coastguard Workerpage.tags="SwipeRefreshLayoutBasic"
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 basic sample which shows how to use SwipeRefreshLayout to add the \'swipe-to-refresh\'
9*90c8c64dSAndroid Build Coastguard Worker            gesture to a View, enabling the ability to trigger a refresh from swiping down on the view.
10*90c8c64dSAndroid Build Coastguard Worker            In this sample the View which can be refreshed is a ListView.
11*90c8c64dSAndroid Build Coastguard Worker
12*90c8c64dSAndroid Build Coastguard Worker        </p>
13