仿京东选择器
项目地址:https://github.com/BitToNet/FeloneHelper/blob/master/README.md#仿京东选择器
仿京东选择器(日期选择,一级选择,二级选择,三级选择)
用github上面的项目整合了一个工具类,照着下面的步骤一步一步去项目中拷,哪报错补哪
Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Add the dependency
dependencies {
implementation 'com.github.shichunlei:JDAddressSelector:0.0.3'
// AndroidPicker
implementation('cn.qqtheme.framework:WheelPicker:1.5.6') {
exclude group: 'com.android.support'
}
}
拷贝工具类
utils/StringUtils、PickerUtils、TimeUtils
widegt/FloatPicker
拷贝资源
values/styles、array