Skip to content

Latest commit

 

History

History
96 lines (64 loc) · 3.42 KB

README_Bintray.md

File metadata and controls

96 lines (64 loc) · 3.42 KB

kitx (bintray 已经停用,改用jitpack。Maven仓库的依赖不再更新。)

android 便捷开发库。包含开发必要使用的组件及共用代码,此库是重构版本,把之前开源的android 库集中到一个项目中。

以下

kitx_core Download

App 开发核心类

implementation 'cn.ymex.kitx:kitx-core:_latestVersion'

kitx_tips Download

常用方法拓展

implementation 'cn.ymex.kitx:kitx-snippet:_latestVersion'

kitx_gilde Download

基于gilde 封装的ImageView.

implementation 'cn.ymex.kitx:kitx-widget-glide:_latestVersion'

kitx_webview Download

基于 腾讯X5 WebView。 集成页面加载进度条与Js 与 Java 通信的功能。

implementation 'cn.ymex.kitx:kitx-widget-webview:_latestVersion'

kitx_widget Download

共用组件库

implementation 'cn.ymex.kitx:kitx-widget:_latestVersion'
  • banner
  • effect 点击效果组件
  • TextLabel 混排标签
  • SwipeRefreshLayout 下拉刷新
  • FlowLayout 流布局
  • RatioLayout 比例布局

kitx_anhttp Download

使用okhttp + retrofit2 封装,基于LiveData通知的回调,抛弃使用RxJava。

implementation 'cn.ymex.kitx:kitx-anhttp:_latestVersion'
//依赖项
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0'
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.2.0'
api "com.squareup.okhttp3:okhttp:4.4.0"
api "com.squareup.okhttp3:logging-interceptor:4.4.0"
api "com.squareup.retrofit2:retrofit:2.7.2"
api "com.squareup.retrofit2:converter-gson:2.7.2"
api "com.squareup.retrofit2:converter-scalars:2.7.2"

start Download

implementation 'cn.ymex.kitx:kitx-app-start:_latestVersion'

快速开发库,默认已经依赖了 kitx_core,kitx_tips,kitx_gilde,kitx_webview,kitx_widget

License

Copyright 2017 ymex.cn

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.