This sample demonstrates how to use
SwipeRefreshLayout
to add
the
swipe-to-refresh
gesture to a layout with multiple children, which enables you to
trigger a refresh by swiping down on the view. In this sample
SwipeRefreshLayout
contains a scrollable
GridView
with an empty
TextView
.