<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.SwipeRefreshLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/swipeRefreshLayoutFriends"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <FrameLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent">

        <include layout="@layout/grid_shows" />

        <TextView
            android:id="@+id/emptyViewFriends"
            android:layout_width="@dimen/empty_view_width"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:gravity="center"
            android:text="@string/friends_empty"
            android:textAppearance="@style/TextAppearance.Light" />

        <TextView
            android:id="@+id/poweredby"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="bottom|right"
            android:background="#bf000000"
            android:padding="@dimen/default_padding"
            android:text="@string/powered_by_trakt"
            android:textAppearance="@style/TextAppearance.XSmall"
            android:textColor="@color/text_default" />

    </FrameLayout>
</android.support.v4.widget.SwipeRefreshLayout>
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <android.support.v4.widget.SwipeRefreshLayout
        android:id="@+id/swipeRefreshLayoutFriends"
        android:layout_width="match_parent"
        android:layout_height="match_parent">

        <include layout="@layout/grid_shows" />

    </android.support.v4.widget.SwipeRefreshLayout>

    <TextView
        android:id="@+id/emptyViewFriends"
        android:layout_width="@dimen/empty_view_width"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:gravity="center"
        android:text="@string/friends_empty"
        android:textAppearance="@style/TextAppearance.Light" />

    <TextView
        android:id="@+id/poweredby"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="bottom|right"
        android:background="#bf000000"
        android:padding="@dimen/default_padding"
        android:text="@string/powered_by_trakt"
        android:textAppearance="@style/TextAppearance.XSmall"
        android:textColor="@color/text_default" />

</FrameLayout>

Fix scrolling up in friends triggering refresh.
Fix scrolling up in friends triggering refresh.

- Only trigger refresh if scrolled to top.
