Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kevingermainbusiness committed May 24, 2022
1 parent 65c6882 commit 283802d
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 26 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ repositories {

```groovy
dependencies {
implementation 'com.github.kevingermainbusiness:ItemDecorator:1.0.14'
implementation 'com.github.kevingermainbusiness:ItemDecorator:1.0.15'
}
```

Expand Down Expand Up @@ -92,7 +92,7 @@ ItemDecorator.Builder(c, recyclerView, viewHolder, dX, actionState).set(
Licenced under the MIT Licence

```
Copyright (c) 2021 Kevin Germain
Copyright (c) 2022 Kevin Germain
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
13 changes: 7 additions & 6 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ plugins {
}

android {
compileSdk 31
compileSdk 32
buildToolsVersion "30.0.3"

defaultConfig {
applicationId "com.kevincodes.itemdecorator"
minSdk 21
targetSdk 31
targetSdk 32
versionCode 1
versionName "1.0.9"
versionName "1.0.15"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand All @@ -34,14 +34,15 @@ android {
kotlinOptions {
jvmTarget = '11'
}
namespace 'com.kevincodes.itemdecorator'
}

dependencies {

implementation 'androidx.core:core-ktx:1.7.0'
implementation 'androidx.appcompat:appcompat:1.4.0'
implementation 'com.google.android.material:material:1.4.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.2'
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation 'com.google.android.material:material:1.6.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation project(path: ':recyclerview')
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
Expand Down
3 changes: 1 addition & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.kevincodes.itemdecorator">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<application
android:allowBackup="true"
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.4'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.0"
classpath 'com.android.tools.build:gradle:7.2.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21"

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Sun Apr 25 20:05:28 EDT 2021
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
11 changes: 6 additions & 5 deletions recyclerview/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ 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'
}
}
}
}

android {
compileSdk 31
compileSdk 32
buildToolsVersion "30.0.3"

defaultConfig {
minSdk 21
targetSdk 31
targetSdk 32

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
Expand All @@ -46,13 +46,14 @@ android {
kotlinOptions {
jvmTarget = '1.8'
}
namespace 'com.kevincodes.recyclerview'
}

dependencies {

implementation 'androidx.core:core-ktx:1.7.0'
implementation 'androidx.appcompat:appcompat:1.4.0'
implementation 'com.google.android.material:material:1.4.0'
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation 'com.google.android.material:material:1.6.0'
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
Expand Down
3 changes: 1 addition & 2 deletions recyclerview/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.kevincodes.recyclerview">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

</manifest>
Original file line number Diff line number Diff line change
Expand Up @@ -512,9 +512,7 @@ data class ItemDecorator(
(viewHolder.itemView.left + mCalculatedHorizontalMargin + it.intrinsicWidth).toInt(),
top + iconSize
)
mIconTintFromStartToEnd?.let { iconTintColor ->
it.colorFilter(iconTintColor)
}
it.colorFilter(mIconTintFromStartToEnd)
it.draw(canvas)
}
}
Expand Down Expand Up @@ -582,9 +580,7 @@ data class ItemDecorator(
(viewHolder.itemView.right - mCalculatedHorizontalMargin).toInt(),
top + it.intrinsicHeight
)
mIconTintFromEndToStart?.let { iconTintColor ->
it.colorFilter(iconTintColor)
}
it.colorFilter(mIconTintFromEndToStart)
it.draw(canvas)
}
}
Expand Down

0 comments on commit 283802d

Please sign in to comment.