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(四)扩展

CXRV(五)ListState

CXRV(六)分页组件

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.7"
    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}"
}