Refresh option in the library updates tab (#606)

* Solves #550

* Make sure only refresh can only happen when pulling down at top of update library list

* Removed unused import
This commit is contained in:
Krishna Shukla
2016-12-23 20:28:53 +05:30
committed by inorichi
parent ec87e4359b
commit 2c6f64c5ae
2 changed files with 30 additions and 6 deletions

View File

@@ -1,9 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<android.support.v4.widget.SwipeRefreshLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/swipe_refresh"
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.v7.widget.RecyclerView
android:id="@+id/recycler"
@@ -14,4 +16,4 @@
</android.support.v7.widget.RecyclerView>
</RelativeLayout>
</android.support.v4.widget.SwipeRefreshLayout>