Source code for http://sdchang.com/wordpress/2014/03/30/use-swiperefreshlayout-listviews-scrollviews/, a tutorial explaining how to use SwipeRefreshLayout, the latest addition to the Android support-v4 compatibility library.