Files
android_development/samples/browseable/SwipeRefreshListFragment/_index.jd
Ricardo Cervera 24dfd97b7f docs: Updated samples descriptions for Apr samples push.
Change-Id: I0b487789735a1251e5cc3d9b9e9e38376771c5c7
2014-04-11 09:55:40 -07:00

13 lines
458 B
Plaintext

page.tags="SwipeRefreshListFragment"
sample.group=UI
@jd:body
<p>This sample demonstrates how to use {@link android.support.v4.widget.SwipeRefreshLayout} within
{@link android.app.ListFragment} to add the <em>swipe-to-refresh</em> gesture to a
{@link android.widget.ListView}, which enables you to trigger a refresh by swiping down on that
view. This functionality is provided by the <code>SwipeRefreshListFragment</code> class, which you
can reuse.</p>