aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src
diff options
context:
space:
mode:
authorowner <owner@DeeDee-Laptop>2012-12-31 21:42:52 -0800
committerowner <owner@DeeDee-Laptop>2012-12-31 21:42:52 -0800
commit9915f36ca57f6af92fb052db35b693dad51a69a5 (patch)
tree8624bdfd696722ee6e72a1a7f7b306c1f10e4858 /subsonic-android/src
parent253fffd035442574928dedb3b898ec6d69c11e8a (diff)
downloaddsub-9915f36ca57f6af92fb052db35b693dad51a69a5.tar.gz
dsub-9915f36ca57f6af92fb052db35b693dad51a69a5.tar.bz2
dsub-9915f36ca57f6af92fb052db35b693dad51a69a5.zip
Closes #67 Indicator of shuffle buffer loading
Diffstat (limited to 'subsonic-android/src')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java b/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java
index 78e4e44c..f035d3d2 100644
--- a/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java
+++ b/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java
@@ -779,6 +779,11 @@ public class DownloadActivity extends SubsonicTabActivity implements OnGestureLi
list = downloadService.getSongs();
else
list = downloadService.getBackgroundDownloads();
+
+ if(downloadService.isShufflePlayEnabled())
+ emptyTextView.setText(R.string.download_shuffle_loading);
+ else
+ emptyTextView.setText(R.string.download_empty);
playlistView.setAdapter(new SongListAdapter(list));
emptyTextView.setVisibility(list.isEmpty() ? View.VISIBLE : View.GONE);