Skip to content
/ CXRV Public

CXRV是一个基于RecyclerView 1.2.0,提供常用功能的库

License

Notifications You must be signed in to change notification settings

xiaocydx/CXRV

Repository files navigation

CXRV是一个基于RecyclerView 1.2.0,提供常用功能的库,全称是Coroutines and Extensions for RecyclerView

CXRV - 概述

CXRV - ListAdapter

CXRV - ViewTypeDelegate

CXRV - MutableStateList

CXRV - Extensions

CXRV - cxrv-binding

CXRV - cxrv-paging

CXRV - cxrv-animatable

CXRV - cxrv-viewpager2

CXRV - 常见问题

  1. 在根目录的settings.gradle添加
dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        mavenCentral()
        maven { url 'https://jitpack.io' }
    }
}
  1. 在module的build.gradle添加
dependencies {
    def version = "1.5.9"
    implementation "com.github.xiaocydx.CXRV:cxrv:${version}"
    implementation "com.github.xiaocydx.CXRV:cxrv-binding:${version}"
    implementation "com.github.xiaocydx.CXRV:cxrv-paging:${version}"
    implementation "com.github.xiaocydx.CXRV:cxrv-animatable:${version}"
    implementation "com.github.xiaocydx.CXRV:cxrv-viewpager2:${version}"
}