allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
implementation 'com.github.momodae.RecyclerViewLibrary2:layoutmanager:1.0.1'
implementation 'com.github.momodae.RecyclerViewLibrary2:pulltorefresh:1.0.1'
implementation 'com.github.momodae.RecyclerViewLibrary2:adapter:1.0.1'
implementation 'com.github.momodae.RecyclerViewLibrary2:library:1.0.1'
Most important: all the libraries were use the AndroidX, not the appcompat.
//The build.gradle
compileSdkVersion 29
buildToolsVersion "29.0.2"
defaultConfig {
minSdkVersion 19
targetSdkVersion 29
}
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.recyclerview:recyclerview:1.1.0'
For module:library
Because of the nested scroll didn't support API-19 so we upgrade this module to API-21
Tips:
- All the libraries use java purely.
- Only the sample module use kotlin.
- The demonstrate module base on this library:AndroidSampleLibrary. Just check all the activities. Do not try to find a initialize application or something like that.
Check this document:readme
Check this document:readme
- ViewPager
- Gallery
- Wheel
Check this document:readme
- HeaderWrapperAdapter
- DynamicWrapperAdapter
- SelectWrapperAdapter
- DragWrapperAdapter
- StickyWrapperAdapter
- BaseAdapter
- ExpandAdapter
- TreeAdapter
- FilterAdapter
- CursorAdapter
- StickyAdapter
Check this document:readme
- About module:library
It's wired that I have another version of this library. It's totally written by the Kotlin. And that module word in API-19 well. For some reason, I got this problem. It tells me the Nested scroll not support in API-19. It doesn't matter. The Androidx if for modern application. So we support from API-21 is fine. android-nosuchmethoderror-android-support-v7-widget-recyclerview-onnestedscroll