diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-01-04 09:36:36 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-01-04 09:36:36 -0800 |
commit | 3e77b0dd428b757f121a883ad8e33a9b559c425a (patch) | |
tree | 43f82811ea8f9aadbb6fc1c839d4c482f12fcf27 /src | |
parent | a31b4292d856f2fc4ca5ecc5fa9493774fd8f7be (diff) | |
download | dsub-3e77b0dd428b757f121a883ad8e33a9b559c425a.tar.gz dsub-3e77b0dd428b757f121a883ad8e33a9b559c425a.tar.bz2 dsub-3e77b0dd428b757f121a883ad8e33a9b559c425a.zip |
#238 Auto refresh albums listed from Recent Albums
Diffstat (limited to 'src')
-rw-r--r-- | src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java b/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java index 23857f91..93558a03 100644 --- a/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java +++ b/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java @@ -16,14 +16,12 @@ import android.view.View; import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.ImageView;
-import android.widget.LinearLayout;
import android.widget.ListView;
import android.widget.TextView;
import github.daneren2005.dsub.R;
import github.daneren2005.dsub.domain.MusicDirectory;
import github.daneren2005.dsub.domain.Share;
import github.daneren2005.dsub.util.ImageLoader;
-import github.daneren2005.dsub.util.SilentBackgroundTask;
import github.daneren2005.dsub.view.EntryAdapter;
import java.io.Serializable;
@@ -319,6 +317,9 @@ public class SelectDirectoryFragment extends SubsonicFragment implements Adapter Bundle args = new Bundle();
args.putString(Constants.INTENT_EXTRA_NAME_ID, entry.getId());
args.putString(Constants.INTENT_EXTRA_NAME_NAME, entry.getTitle());
+ if ("newest".equals(albumListType)) {
+ args.putBoolean(Constants.INTENT_EXTRA_REFRESH_LISTINGS, true);
+ }
fragment.setArguments(args);
replaceFragment(fragment, rootId, true);
|