From 7b241b7f0c1d585474ec9c20e5965d8c09892295 Mon Sep 17 00:00:00 2001 From: vivchar Date: Fri, 9 Feb 2018 21:32:06 +0700 Subject: [PATCH] bug fixing migration to 26 SDK update build tools to 27.0.3 update support library to 27.0.2 --- build.gradle | 8 ++++---- gradle.properties | 4 ++-- .../rendererrecyclerviewadapter/binder/ViewFinder.java | 2 +- .../binder/ViewFinderImpl.java | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/build.gradle b/build.gradle index fe23dff..93289b0 100644 --- a/build.gradle +++ b/build.gradle @@ -37,10 +37,10 @@ ext { versionName = "1.0" versionCode = 1 minSdkVersion = 14 - targetSdkVersion = 25 - compileSdkVersion = 25 - buildToolsVersion = "26.0.2" - supportLibraryVersion = "25.3.1" + targetSdkVersion = 26 + compileSdkVersion = 26 + buildToolsVersion = "27.0.3" + supportLibraryVersion = "27.0.2" constraintVersion = "1.0.2" retrofit2Version = "2.3.0" glideVersion = "4.0.0" diff --git a/gradle.properties b/gradle.properties index 72a43d7..67c8597 100644 --- a/gradle.properties +++ b/gradle.properties @@ -15,8 +15,8 @@ org.gradle.jvmargs=-Xmx1536m # This option should only be used with decoupled projects. More details, visit # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects # org.gradle.parallel=true -VERSION_NAME=2.4.1 -VERSION_CODE=26 +VERSION_NAME=2.5.0 +VERSION_CODE=27 GROUP=com.github.vivchar POM_DESCRIPTION=A single adapter with multiple view types for the whole project diff --git a/rendererrecyclerviewadapter/src/main/java/com/github/vivchar/rendererrecyclerviewadapter/binder/ViewFinder.java b/rendererrecyclerviewadapter/src/main/java/com/github/vivchar/rendererrecyclerviewadapter/binder/ViewFinder.java index eb2c58a..0b038c1 100644 --- a/rendererrecyclerviewadapter/src/main/java/com/github/vivchar/rendererrecyclerviewadapter/binder/ViewFinder.java +++ b/rendererrecyclerviewadapter/src/main/java/com/github/vivchar/rendererrecyclerviewadapter/binder/ViewFinder.java @@ -105,7 +105,7 @@ public interface ViewFinder { @NonNull ViewFinder setVisibility(@IdRes int ID, int visibility); @NonNull - ViewFinder setAlpha(@IdRes int ID, int alpha); + ViewFinder setAlpha(@IdRes int ID, float alpha); @NonNull ViewFinder addView(@IdRes int ID, View child); @NonNull diff --git a/rendererrecyclerviewadapter/src/main/java/com/github/vivchar/rendererrecyclerviewadapter/binder/ViewFinderImpl.java b/rendererrecyclerviewadapter/src/main/java/com/github/vivchar/rendererrecyclerviewadapter/binder/ViewFinderImpl.java index bb5680e..610ea32 100644 --- a/rendererrecyclerviewadapter/src/main/java/com/github/vivchar/rendererrecyclerviewadapter/binder/ViewFinderImpl.java +++ b/rendererrecyclerviewadapter/src/main/java/com/github/vivchar/rendererrecyclerviewadapter/binder/ViewFinderImpl.java @@ -302,7 +302,7 @@ public ViewFinder setVisibility(final int ID, final int visibility) { @NonNull @Override - public ViewFinder setAlpha(final int ID, final int alpha) { + public ViewFinder setAlpha(final int ID, final float alpha) { find(ID).setAlpha(alpha); return this; }