Skip to content

Endhuine/Queued-Adapter

Repository files navigation

Queued Adapter

Implementation of an RecyclerView.Adapter for easy handling multiple updates.

It make use of the DiffUtil and Kotlin coroutines for handling the update.

Right know it use a simple Last in first out as update strategy and it's not configurable. Maybe I'll add it up the option of multiple update strategy

Import the library using jitpack

Setup

In your top gradle build add:

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

then add the dependency

dependencies {
    implementation 'com.github.Endhuine:Queued-Adapter:Tag'
}