13 lines
458 B
Plaintext
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>
|