Skip to content

Commit

Permalink
Merge pull request #87
Browse files Browse the repository at this point in the history
Updated project to Kotlin
  • Loading branch information
myinnos authored Apr 21, 2023
2 parents 0c82c1d + 8bcd5bb commit 671a2e4
Show file tree
Hide file tree
Showing 20 changed files with 1,428 additions and 1,495 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,13 @@ Features
```java
mRecyclerView.setIndexBarTransparentValue((float) 0.4);
```
- Change IndexbarMargin:
- Change IndexBarMargin:
```java
mRecyclerView.setIndexbarMargin(4);
mRecyclerView.setIndexBarMargin(4);
```
- Change IndexbarWidth:
- Change IndexBarWidth:
```java
mRecyclerView.setIndexbarWidth(40);
mRecyclerView.setIndexBarWidth(40);
```
- Change PreviewPadding:
```java
Expand All @@ -130,9 +130,9 @@ mRecyclerView.setIndexBarVisibility(true);
```
- Change IndexBarHighLateTextColor:
```java
mRecyclerView.setIndexbarHighLightTextColor("#33334c);
mRecyclerView.setIndexBarHighLightTextColor("#33334c);
mRecyclerView.setIndexbarHighLightTextColor(R.color.index_bar_highlight_text_color);
mRecyclerView.setIndexBarHighLightTextColor(R.color.index_bar_highlight_text_color);
```
- To hide/show IndexBarHighLightText:
```java
Expand Down Expand Up @@ -179,7 +179,7 @@ Thanks to all the people who contributed to AlphabetIndex Fast Scroll RecyclerVi
[@RaphaelMarion](https://github.com/RaphaelMarion "RaphaelMarion")
[@appspell](https://github.com/appspell "appspell")
[@Libernys](https://github.com/Libernys "Libernys")
[@IvanAbacumov](https://github.com/IvanAbacumov "IvanAbacumov")
[@IvanAbacumov](https://github.com/IvanAbacumov "IvanAbakumov")
[@benniebotha](https://github.com/benniebotha "benniebotha")
[@AbandonedCart](https://github.com/AbandonedCart "AbandonedCart")
[@Hamza417](https://github.com/Hamza417 "Hamza417") -->
Expand Down
17 changes: 10 additions & 7 deletions alphabetsindexfastscrollrecycler/build.gradle
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
final ANDROIDX = '1.0.0'
apply plugin: 'com.github.dcendents.android-maven' // ADD THIS
//apply plugin: 'com.github.dcendents.android-maven' // ADD THIS

group='com.github.jitpack'

android {
compileSdkVersion 28
compileSdkVersion 33

defaultConfig {
minSdkVersion 15
targetSdkVersion 28
targetSdkVersion 33
versionCode 1
versionName "1.0"
}
Expand All @@ -23,16 +24,18 @@ android {

allprojects {
repositories {
jcenter()
mavenCentral()
maven {
url "https://maven.google.com"
}
}
}

dependencies {
implementation "androidx.appcompat:appcompat:${ANDROIDX}"
implementation "com.google.android.material:material:${ANDROIDX}"
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation "com.google.android.material:material:1.8.0"
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation 'androidx.core:core-ktx:1.10.0'
}

// build a jar with source files
Expand All @@ -45,7 +48,7 @@ task javadoc(type: Javadoc) {
failOnError false
source = android.sourceSets.main.java.sourceFiles
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
classpath += configurations.compile
classpath += configurations.implementation
}

// build a jar with javadoc
Expand Down
Loading

0 comments on commit 671a2e4

Please sign in to comment.