Installation

This documentation was generated with the assistance of AI. Please report any inaccuracies.

The library is published to Maven Central as an Android library (AAR).

Group ID

com.irurueta

Artifact ID

irurueta-android-recycler-view-manager

Latest release

1.1.6

License

Apache License 2.0

Requirements

  • Android minSdk 26 (Android 8.0) or later.

  • The library is compiled against SDK 37, with Java/Kotlin JVM target 17.

  • Its hermes dependency (1.3.1 and later) is compiled for Java 21. That is fine on devices, but JVM unit tests in your app that load hermes classes need to run on JDK 21 or later.

  • Your project must already use androidx.recyclerview (it is the widget the library drives).

Gradle (Kotlin DSL)

Make sure mavenCentral() is among your repositories (in settings.gradle.kts):

dependencyResolutionManagement {
    repositories {
        google()
        mavenCentral()
    }
}

Then add the dependency to your module’s build.gradle.kts:

dependencies {
    implementation("com.irurueta:irurueta-android-recycler-view-manager:1.1.6")
}

Gradle (Groovy DSL)

dependencies {
    implementation 'com.irurueta:irurueta-android-recycler-view-manager:1.1.6'
}

Version catalog

[versions]
recyclerViewManager = "1.1.6"

[libraries]
recycler-view-manager = { module = "com.irurueta:irurueta-android-recycler-view-manager", version.ref = "recyclerViewManager" }
dependencies {
    implementation(libs.recycler.view.manager)
}

Transitive dependencies

The library exposes com.irurueta:hermes as an api dependency. The comparator interfaces (com.irurueta.hermes.ItemComparator and com.irurueta.hermes.ItemContentComparator) and the change classes returned by the detector are therefore available on your compile classpath without declaring hermes yourself.

Building from source

To use the library from source instead, clone the repository and include the lib module in your build, or publish it to your local Maven repository. See Building, testing and contributing.

Next: Usage.