From 735e49d149e815f1206338e83dfce6aaf453e61c Mon Sep 17 00:00:00 2001
From: germainkevinbusiness
<67168053+kevingermainbusiness@users.noreply.github.com>
Date: Tue, 4 Jan 2022 23:09:49 -0500
Subject: [PATCH] Updated dependencies & made some other minor adjustments
---
app/build.gradle | 2 +-
build.gradle | 2 +-
recyclerview/build.gradle | 2 +-
recyclerview/src/main/AndroidManifest.xml | 5 +----
.../java/com/kevincodes/recyclerview/ItemDecorator.kt | 8 ++------
5 files changed, 6 insertions(+), 13 deletions(-)
diff --git a/app/build.gradle b/app/build.gradle
index 6f30cb3..5ea867b 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -12,7 +12,7 @@ android {
minSdk 21
targetSdk 31
versionCode 1
- versionName "1.0.9"
+ versionName "1.0.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
diff --git a/build.gradle b/build.gradle
index 01639a4..c15619e 100644
--- a/build.gradle
+++ b/build.gradle
@@ -6,7 +6,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.4'
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.0"
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
diff --git a/recyclerview/build.gradle b/recyclerview/build.gradle
index 9d6ee28..78193e4 100644
--- a/recyclerview/build.gradle
+++ b/recyclerview/build.gradle
@@ -15,7 +15,7 @@ afterEvaluate {
// You can then customize attributes of the publication as shown below.
groupId = 'com.github.kevingermainbusiness'
artifactId = 'final'
- version = '1.0.14'
+ version = '1.0.15'
}
}
}
diff --git a/recyclerview/src/main/AndroidManifest.xml b/recyclerview/src/main/AndroidManifest.xml
index 232a3a0..bebded9 100644
--- a/recyclerview/src/main/AndroidManifest.xml
+++ b/recyclerview/src/main/AndroidManifest.xml
@@ -1,5 +1,2 @@
-
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/recyclerview/src/main/java/com/kevincodes/recyclerview/ItemDecorator.kt b/recyclerview/src/main/java/com/kevincodes/recyclerview/ItemDecorator.kt
index a079169..c0126bc 100644
--- a/recyclerview/src/main/java/com/kevincodes/recyclerview/ItemDecorator.kt
+++ b/recyclerview/src/main/java/com/kevincodes/recyclerview/ItemDecorator.kt
@@ -512,9 +512,7 @@ data class ItemDecorator(
(viewHolder.itemView.left + mCalculatedHorizontalMargin + it.intrinsicWidth).toInt(),
top + iconSize
)
- mIconTintFromStartToEnd?.let { iconTintColor ->
- it.colorFilter(iconTintColor)
- }
+ mIconTintFromStartToEnd.apply { it.colorFilter(this) }
it.draw(canvas)
}
}
@@ -582,9 +580,7 @@ data class ItemDecorator(
(viewHolder.itemView.right - mCalculatedHorizontalMargin).toInt(),
top + it.intrinsicHeight
)
- mIconTintFromEndToStart?.let { iconTintColor ->
- it.colorFilter(iconTintColor)
- }
+ mIconTintFromEndToStart.apply { it.colorFilter(this) }
it.draw(canvas)
}
}