MultiViewAdapter

Additional

Language
Java
Version
v2.0.0-beta01 (Jul 4, 2019)
Created
Jan 17, 2017
Updated
Jul 31, 2019
Owner
Riyaz Ahamed (DevAhamed)
Contributor
Riyaz Ahamed (DevAhamed)
1
Activity
Badge
Generate
Download
Source code
APK file

Blurb

Recyclerview is one of the powerful widgets inside android framework. But creating adapters with multiple view types is always exhausting. Not anymore. MultiViewAdapter makes it easy for you to create adapter with multiple view types easily. Using the library you will be able to build composable view holders, which can be re-used across your app. Apart from this, MultiViewAdapter adds many other useful features into the library as add-ons.

🎉🎉 MultiViewAdapter v3.0 supports AndroidX. v3.0 is identical to v2.0 except for package name changes and androidx support.

Contents

  1. Why this library
  2. Feature Showcase
  3. Gradle Dependency
  4. Core Concepts
  5. Basic Usage
  6. Advanced Usage
  7. Learn More
  8. Changelog
  9. Contribution
  10. Credits
  11. Hall of fame
  12. License


Adding Extension

dependencies {
    implementation 'dev.ahamed.mva2:ext-databinding:2.0.0-beta01'  // DataBinding
    implementation 'dev.ahamed.mva2:ext-decorator:2.0.0-beta01'    // Decorators
    implementation 'dev.ahamed.mva2:ext-diffutil-rx:2.0.0-beta01'  // RxDiffUtil
}

Using Snapshot Version

Just add '-SNAPSHOT' to the version name

dependencies {
    implementation 'dev.ahamed.mva2:adapter:2.0.0-SNAPSHOT' // Library
}

To use the above snapshot version add the following to your project's gradle file

allprojects {
    repositories {
        maven {
            url 'https://oss.jfrog.org/artifactory/oss-snapshot-local'
        }
    }
}