Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.52 KB

File metadata and controls

44 lines (34 loc) · 1.52 KB

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