Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 721 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 721 Bytes

ImageSwipeRefresh

This is the material pull to refresh with an image in the middle

Usage

Similar to native SwipeRefreshLayout insert your ScrollView in the component but use src to set the image.

    <io.semicolon.imageswiperefresh.ImageSwipeRefresh
        android:id="@+id/swipe_container"
        android:layout_width="match_parent"
        app:src="@drawable/ic_launcher"
        android:layout_height="match_parent">

        <ListView
            android:id="@+id/list"
            android:layout_width="match_parent"
            android:layout_height="match_parent" />

    </io.semicolon.imageswiperefresh.ImageSwipeRefresh>