aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-05-27 08:39:42 -0700
committerScott Jackson <daneren2005@gmail.com>2015-05-27 08:39:42 -0700
commit3a65449a8e9b5298ffffb2fb59fd6113b0fdbb6b (patch)
tree5f7e51d27e59a053f96a66c2047dc8d8e7779d9a /app
parent507dbc4a002c2acc8b2577a84b0f0b70bc00aa33 (diff)
downloaddsub-3a65449a8e9b5298ffffb2fb59fd6113b0fdbb6b.tar.gz
dsub-3a65449a8e9b5298ffffb2fb59fd6113b0fdbb6b.tar.bz2
dsub-3a65449a8e9b5298ffffb2fb59fd6113b0fdbb6b.zip
Trigger loading a little earlier
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java b/app/src/main/java/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java
index f21967b9..5dc50757 100644
--- a/app/src/main/java/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java
+++ b/app/src/main/java/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java
@@ -745,7 +745,7 @@ public class SelectDirectoryFragment extends SubsonicFragment implements Section
return;
}
- if(totalItemCount > 0 && lastVisibleItem >= totalItemCount - 1) {
+ if(totalItemCount > 0 && lastVisibleItem >= totalItemCount - 2) {
infiniteGridAdapter.loadMore();
}
}