Skip to content

Commit 671a2e4

Browse files
authored
Merge pull request #87
Updated project to Kotlin
2 parents 0c82c1d + 8bcd5bb commit 671a2e4

File tree

20 files changed

+1428
-1495
lines changed

20 files changed

+1428
-1495
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,13 @@ Features
103103
```java
104104
mRecyclerView.setIndexBarTransparentValue((float) 0.4);
105105
```
106-
- Change IndexbarMargin:
106+
- Change IndexBarMargin:
107107
```java
108-
mRecyclerView.setIndexbarMargin(4);
108+
mRecyclerView.setIndexBarMargin(4);
109109
```
110-
- Change IndexbarWidth:
110+
- Change IndexBarWidth:
111111
```java
112-
mRecyclerView.setIndexbarWidth(40);
112+
mRecyclerView.setIndexBarWidth(40);
113113
```
114114
- Change PreviewPadding:
115115
```java
@@ -130,9 +130,9 @@ mRecyclerView.setIndexBarVisibility(true);
130130
```
131131
- Change IndexBarHighLateTextColor:
132132
```java
133-
mRecyclerView.setIndexbarHighLightTextColor("#33334c);
133+
mRecyclerView.setIndexBarHighLightTextColor("#33334c);
134134
135-
mRecyclerView.setIndexbarHighLightTextColor(R.color.index_bar_highlight_text_color);
135+
mRecyclerView.setIndexBarHighLightTextColor(R.color.index_bar_highlight_text_color);
136136
```
137137
- To hide/show IndexBarHighLightText:
138138
```java
@@ -179,7 +179,7 @@ Thanks to all the people who contributed to AlphabetIndex Fast Scroll RecyclerVi
179179
[@RaphaelMarion](https://github.com/RaphaelMarion "RaphaelMarion")
180180
[@appspell](https://github.com/appspell "appspell")
181181
[@Libernys](https://github.com/Libernys "Libernys")
182-
[@IvanAbacumov](https://github.com/IvanAbacumov "IvanAbacumov")
182+
[@IvanAbacumov](https://github.com/IvanAbacumov "IvanAbakumov")
183183
[@benniebotha](https://github.com/benniebotha "benniebotha")
184184
[@AbandonedCart](https://github.com/AbandonedCart "AbandonedCart")
185185
[@Hamza417](https://github.com/Hamza417 "Hamza417") -->

alphabetsindexfastscrollrecycler/build.gradle

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
apply plugin: 'com.android.library'
2+
apply plugin: 'kotlin-android'
23
final ANDROIDX = '1.0.0'
3-
apply plugin: 'com.github.dcendents.android-maven' // ADD THIS
4+
//apply plugin: 'com.github.dcendents.android-maven' // ADD THIS
45

56
group='com.github.jitpack'
67

78
android {
8-
compileSdkVersion 28
9+
compileSdkVersion 33
910

1011
defaultConfig {
1112
minSdkVersion 15
12-
targetSdkVersion 28
13+
targetSdkVersion 33
1314
versionCode 1
1415
versionName "1.0"
1516
}
@@ -23,16 +24,18 @@ android {
2324

2425
allprojects {
2526
repositories {
26-
jcenter()
27+
mavenCentral()
2728
maven {
2829
url "https://maven.google.com"
2930
}
3031
}
3132
}
3233

3334
dependencies {
34-
implementation "androidx.appcompat:appcompat:${ANDROIDX}"
35-
implementation "com.google.android.material:material:${ANDROIDX}"
35+
implementation 'androidx.appcompat:appcompat:1.6.1'
36+
implementation "com.google.android.material:material:1.8.0"
37+
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
38+
implementation 'androidx.core:core-ktx:1.10.0'
3639
}
3740

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

5154
// build a jar with javadoc

0 commit comments

Comments
 (0)