diff options
author | Scott Jackson <daneren2005@gmail.com> | 2015-10-29 17:17:45 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2015-10-29 17:17:45 -0700 |
commit | b51888e6bfd41f163f1b226da001790a418a70e6 (patch) | |
tree | cd99eb444a1b9d3f526621d37466922f1f44384f /app | |
parent | 049501f0f1aa5bace4af1ff90cb076fc220ba0f4 (diff) | |
download | dsub-b51888e6bfd41f163f1b226da001790a418a70e6.tar.gz dsub-b51888e6bfd41f163f1b226da001790a418a70e6.tar.bz2 dsub-b51888e6bfd41f163f1b226da001790a418a70e6.zip |
Always give quick scroller to basic fragments
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/github/daneren2005/dsub/fragments/SelectRecyclerFragment.java | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/fragments/SelectRecyclerFragment.java b/app/src/main/java/github/daneren2005/dsub/fragments/SelectRecyclerFragment.java index 787b96e0..84011480 100644 --- a/app/src/main/java/github/daneren2005/dsub/fragments/SelectRecyclerFragment.java +++ b/app/src/main/java/github/daneren2005/dsub/fragments/SelectRecyclerFragment.java @@ -186,12 +186,8 @@ public abstract class SelectRecyclerFragment<T> extends SubsonicFragment impleme public void done(List<T> result) { if (result != null && !result.isEmpty()) { recyclerView.setAdapter(adapter = getAdapter(result)); - if(adapter instanceof FastScroller.BubbleTextGetter) { - if(!fastScroller.isAttached()) { - fastScroller.attachRecyclerView(recyclerView); - } - } else if(fastScroller.isAttached()) { - fastScroller.detachRecyclerView(); + if(!fastScroller.isAttached()) { + fastScroller.attachRecyclerView(recyclerView); } onFinishRefresh(); |