diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-05-16 22:29:37 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-05-16 22:29:37 -0700 |
commit | 7ba8e8817b667b30d18df5ca8e85527b765ccc0d (patch) | |
tree | 3cfd786c3dcd9bafad4081f19203dc04c7b79cfc /src/github | |
parent | 2e7c9f5660b52c77bc11ea66b593ca9f0ea82722 (diff) | |
download | dsub-7ba8e8817b667b30d18df5ca8e85527b765ccc0d.tar.gz dsub-7ba8e8817b667b30d18df5ca8e85527b765ccc0d.tar.bz2 dsub-7ba8e8817b667b30d18df5ca8e85527b765ccc0d.zip |
Disable pull to refresh from DownloadFragment
Diffstat (limited to 'src/github')
-rw-r--r-- | src/github/daneren2005/dsub/fragments/DownloadFragment.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/fragments/DownloadFragment.java b/src/github/daneren2005/dsub/fragments/DownloadFragment.java index 86408dd9..5e93c7a7 100644 --- a/src/github/daneren2005/dsub/fragments/DownloadFragment.java +++ b/src/github/daneren2005/dsub/fragments/DownloadFragment.java @@ -94,6 +94,9 @@ public class DownloadFragment extends SelectListFragment<DownloadFile> { return null;
}
+ listView.setOnScrollListener(null);
+ refreshLayout.setEnabled(false);
+
List<DownloadFile> songList = new ArrayList<DownloadFile>();
songList.addAll(downloadService.getBackgroundDownloads());
currentRevision = downloadService.getDownloadListUpdateRevision();
|