aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordaneren2005 <daneren2005@gmail.com>2013-10-08 11:08:15 -0700
committerdaneren2005 <daneren2005@gmail.com>2013-10-08 11:08:15 -0700
commitf776d7aca0e1a2ddd01c3c5d7c727157d379f8cf (patch)
treed270bee384d2f93d233e6bd85a8c9b41c8abb68d /src
parent50f996b85834970689ff667f1c53c038d0c089de (diff)
downloaddsub-f776d7aca0e1a2ddd01c3c5d7c727157d379f8cf.tar.gz
dsub-f776d7aca0e1a2ddd01c3c5d7c727157d379f8cf.tar.bz2
dsub-f776d7aca0e1a2ddd01c3c5d7c727157d379f8cf.zip
#163 Possible fix for artist index not being refreshed on setAdapter
Diffstat (limited to 'src')
-rw-r--r--src/github/daneren2005/dsub/fragments/SelectArtistFragment.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/fragments/SelectArtistFragment.java b/src/github/daneren2005/dsub/fragments/SelectArtistFragment.java
index e382163d..dab3cefb 100644
--- a/src/github/daneren2005/dsub/fragments/SelectArtistFragment.java
+++ b/src/github/daneren2005/dsub/fragments/SelectArtistFragment.java
@@ -205,7 +205,9 @@ public class SelectArtistFragment extends SubsonicFragment implements AdapterVie
artists = new ArrayList<Artist>(result.getShortcuts().size() + result.getArtists().size());
artists.addAll(result.getShortcuts());
artists.addAll(result.getArtists());
+ artistList.setFastScrollEnabled(false);
artistList.setAdapter(new ArtistAdapter(context, artists));
+ artistList.setFastScrollEnabled(true);
entries = result.getEntries();
setMusicFolders();