diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-04-19 13:21:36 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-04-19 13:21:36 -0700 |
commit | 2afc4b04e4774f5a7b8ce4cf5b907c0d2e8fbe98 (patch) | |
tree | 16d14cdca370cf35dea24427c7aa445868128b8d /src/github/daneren2005/dsub/fragments/SelectArtistFragment.java | |
parent | ade2ba555cc7ef5a5173f75f4d67b2c5db495795 (diff) | |
parent | e4fd975a5167450fe18c542f2b3cf1fdf907cbdb (diff) | |
download | dsub-2afc4b04e4774f5a7b8ce4cf5b907c0d2e8fbe98.tar.gz dsub-2afc4b04e4774f5a7b8ce4cf5b907c0d2e8fbe98.tar.bz2 dsub-2afc4b04e4774f5a7b8ce4cf5b907c0d2e8fbe98.zip |
Merge branch 'PullRefresh' of https://github.com/daneren2005/Subsonic
Diffstat (limited to 'src/github/daneren2005/dsub/fragments/SelectArtistFragment.java')
-rw-r--r-- | src/github/daneren2005/dsub/fragments/SelectArtistFragment.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/fragments/SelectArtistFragment.java b/src/github/daneren2005/dsub/fragments/SelectArtistFragment.java index d10a9c1b..29c6c981 100644 --- a/src/github/daneren2005/dsub/fragments/SelectArtistFragment.java +++ b/src/github/daneren2005/dsub/fragments/SelectArtistFragment.java @@ -2,6 +2,7 @@ package github.daneren2005.dsub.fragments; import android.os.Build;
import android.os.Bundle;
+import android.support.v4.widget.SwipeRefreshLayout;
import android.view.ContextMenu;
import android.view.LayoutInflater;
import android.view.Menu;
@@ -89,6 +90,9 @@ public class SelectArtistFragment extends SubsonicFragment implements AdapterVie setMusicFolders();
}
+ refreshLayout = (SwipeRefreshLayout) rootView.findViewById(R.id.refresh_layout);
+ refreshLayout.setOnRefreshListener(this);
+
return rootView;
}
@@ -215,6 +219,7 @@ public class SelectArtistFragment extends SubsonicFragment implements AdapterVie setMusicFolders();
artistList.setVisibility(View.VISIBLE);
+ refreshLayout.setRefreshing(false);
}
};
task.execute();
|