From f26a0785571a75c3f64a415f5a33ae814afecd4b Mon Sep 17 00:00:00 2001 From: Tonic Artos Date: Wed, 1 Apr 2015 19:59:49 +0100 Subject: [PATCH 1/3] Better default lowest edge. --- .../src/main/java/com/tonicartos/superslim/LayoutManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/src/main/java/com/tonicartos/superslim/LayoutManager.java b/library/src/main/java/com/tonicartos/superslim/LayoutManager.java index ad512fb..9274aeb 100644 --- a/library/src/main/java/com/tonicartos/superslim/LayoutManager.java +++ b/library/src/main/java/com/tonicartos/superslim/LayoutManager.java @@ -340,7 +340,7 @@ public int scrollVerticallyBy(int dy, RecyclerView.Recycler recycler, LayoutParams params = (LayoutParams) end.getLayoutParams(); SectionLayoutManager slm = getSlm(params); final int endEdge = slm.getLowestEdge( - params.getTestedFirstPosition(), getChildCount() - 1, leadingEdge); + params.getTestedFirstPosition(), getChildCount() - 1, getDecoratedBottom(end)); if (endEdge < height - getPaddingBottom() && getPosition(end) == (state.getItemCount() - 1)) { return 0; From a930448c42fb53f0ef00cf68ee3286a6b3e07f8a Mon Sep 17 00:00:00 2001 From: Tonic Artos Date: Wed, 1 Apr 2015 20:05:24 +0100 Subject: [PATCH 2/3] Set snapshot v0.4.9-SNAPSHOT. --- gradle.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index 2a88c5e..7a953e9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -17,8 +17,8 @@ # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects # org.gradle.parallel=true -VERSION_NAME=0.4.8 -VERSION_CODE=19 +VERSION_NAME=0.4.9-SNAPSHOT +VERSION_CODE=20 GROUP=com.tonicartos POM_GENERATE_UNIQUE_SNAPSHOTS=false From bcaf5181e67d5d8aab9f4ced26a01eff025409ef Mon Sep 17 00:00:00 2001 From: Tonic Artos Date: Wed, 1 Apr 2015 20:21:51 +0100 Subject: [PATCH 3/3] Set version v0.4.9. --- README.md | 2 +- gradle.properties | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f535e3d..603fa7b 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ See the [Roadmap](https://github.com/TonicArtos/SuperSLiM/wiki/Roadmap) for more Add the following to your build.gradle file. ```groovy dependencies { - compile 'com.tonicartos:superslim:0.4.8' + compile 'com.tonicartos:superslim:0.4.9' } ``` diff --git a/gradle.properties b/gradle.properties index 7a953e9..e12926c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -17,8 +17,8 @@ # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects # org.gradle.parallel=true -VERSION_NAME=0.4.9-SNAPSHOT -VERSION_CODE=20 +VERSION_NAME=0.4.9 +VERSION_CODE=21 GROUP=com.tonicartos POM_GENERATE_UNIQUE_SNAPSHOTS=false