|
|
|
@ -42,6 +42,7 @@ projects, [core library desugaring](https://developer.android.com/studio/write/j
|
|
|
|
the [NIO specification](https://developer.android.com/studio/write/java11-nio-support-table) should be enabled to
|
|
|
|
the [NIO specification](https://developer.android.com/studio/write/java11-nio-support-table) should be enabled to
|
|
|
|
support Java 8+ features.
|
|
|
|
support Java 8+ features.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3. Usage in code
|
|
|
|
3. Usage in code
|
|
|
|
|
|
|
|
|
|
|
|
```kotlin
|
|
|
|
```kotlin
|
|
|
|
@ -50,8 +51,8 @@ support Java 8+ features.
|
|
|
|
|
|
|
|
|
|
|
|
`mangaLoaderContext` is an implementation of the `MangaLoaderContext` class.
|
|
|
|
`mangaLoaderContext` is an implementation of the `MangaLoaderContext` class.
|
|
|
|
See examples
|
|
|
|
See examples
|
|
|
|
of [Android](https://github.com/KotatsuApp/Kotatsu/blob/devel/app/src/main/java/org/koitharu/kotatsu/core/parser/MangaLoaderContextImpl.kt)
|
|
|
|
of [Android](https://github.com/KotatsuApp/Kotatsu/blob/devel/app/src/main/kotlin/org/koitharu/kotatsu/core/parser/MangaLoaderContextImpl.kt)
|
|
|
|
and [Non-Android](https://github.com/KotatsuApp/kotatsu-dl/blob/master/src/main/kotlin/org/koitharu/kotatsu_dl/env/MangaLoaderContextImpl.kt)
|
|
|
|
and [Non-Android](https://github.com/KotatsuApp/kotatsu-dl/blob/master/src/jvmMain/kotlin/org/koitharu/kotatsu_dl/logic/MangaLoaderContextImpl.kt)
|
|
|
|
implementation.
|
|
|
|
implementation.
|
|
|
|
|
|
|
|
|
|
|
|
Note that the `MangaSource.LOCAL` and `MangaSource.DUMMY` parsers cannot be instantiated.
|
|
|
|
Note that the `MangaSource.LOCAL` and `MangaSource.DUMMY` parsers cannot be instantiated.
|
|
|
|
|