收录整理常用的各种UI控件、自定义view、用于项目实践中。
- 引用
在根gradle中添加
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
2.在module 中添加依赖
//万能apater适配器,适配ListView/RecycleView
implementation 'com.github.itxiaox.view:adapter:Tag'
//常用对话框
implementation 'com.github.itxiaox.view:dialog:Tag'
//进度条
implementation 'com.github.itxiaox.view:progressbar:Tag'
//地址选择器
implementation 'com.github.itxiaox.view:address:Tag'
//日期、时间、数据选择器
implementation 'com.github.itxiaox.view:picker:Tag'
//菜单
implementation 'com.github.itxiaox.view:menu:Tag'
//常见的自定义view
implementation 'com.github.itxiaox.view:xview:Tag'
//一次性引入所有的view库
implementation 'com.github.itxiaox:view:Tag'
Copyright 2018 Xiaox
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.