This project is CTRL+C CTRL+V of default SwipeRefreshLayout from support library, the only difference is that all vertical things are changed to horizontal.
same as default SwipeRefreshLayout. Just change
import android.support.v4.widget.SwipeRefreshLayout;
to
import custom.widget.SwipeRefreshLayout;
and
<android.support.v4.widget.SwipeRefreshLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
...>
...
to
<custom.widget.SwipeRefreshLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
...>
...
All features from default SwipeRefreshLayout should work.