We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6aeb9ed commit 4c27f73Copy full SHA for 4c27f73
1 file changed
README.md
@@ -39,6 +39,23 @@ Gradle:
39
implementation 'me.zhanghai.android.fastscroll:library:1.1.4'
40
```
41
42
+This library uses [Java 8 bytecode](https://developer.android.com/studio/write/java8-support), so you will need to enable it in your project as well:
43
+
44
+```gradle
45
+android {
46
+ ...
47
+ // For Java projects
48
+ compileOptions {
49
+ sourceCompatibility JavaVersion.VERSION_1_8
50
+ targetCompatibility JavaVersion.VERSION_1_8
51
+ }
52
+ // For Kotlin projects
53
+ kotlinOptions {
54
+ jvmTarget = JavaVersion.VERSION_1_8.toString()
55
56
+}
57
+```
58
59
## Usage
60
61
Simply create a `FastScroller` with `FastScrollerBuilder`, and enjoy!
0 commit comments