在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:XBaseAndroid开源软件地址:https://gitee.com/fanhua1994/XBaseAndroid开源软件介绍:XBaseAndroid一款集成了网络请求,本地缓存,配置文件,数据库映射,权限申请,链表管理Activity,简化Activity、Service、Broadcast启动,万能ListView,GridView适配器、高仿IOS弹窗、倒计时/延迟执行,标题栏组件,图片显示,webview引擎,APP更新组件,APP崩溃日志组件,事件总线.
项目地址:https://github.com/fanhua1994/XBaseAndroid 新文档全部完善。 新文档地址:https://www.jianshu.com/nb/20489476 版本更新目前最新版本是1.3.5更新日志 引用方式: 注意:androidx请使用1.3.2及以上版本。不是androidx请用1.3.1以下版本 1.加入repositories allprojects { repositories { ... maven { url 'https://jitpack.io' } }} 2.引用第三方库 implementation 'com.github.bumptech.glide:glide:4.10.0' annotationProcessor 'com.github.bumptech.glide:compiler:4.10.0' api 'com.alibaba:fastjson:1.1.71.android' api 'com.lzy.net:okgo:3.0.4' api 'org.greenrobot:eventbus:3.1.1' api 'com.j256.ormlite:ormlite-core:5.1' api 'com.j256.ormlite:ormlite-android:5.1' api 'com.squareup.okhttp3:okhttp:4.2.2' //不使用webview不引用 api 'com.just.agentweb:agentweb:4.1.2' api 'com.just.agentweb:filechooser:4.1.2' api 'com.download.library:Downloader:4.1.2' 3.引用XBaseAndroid implementation 'com.github.fanhua1994:XBaseAndroid:1.3.5' 4.在gradle.properties文件下加入
android.useAndroidX=trueandroid.enableJetifier=true 5.build.gradle新增代码
compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } 联系作者简书:http://www.jianshu.com/u/50c9e5f00da3 CSDN:http://blog.csdn.net/dong_18383219470?viewmode=list 邮箱:[email protected] 、 [email protected] QQ :975303544(备注来意) 代码提交copyrightMIT LicenseCopyright (c) 2020 繁华穿越现实Permission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin the Software without restriction, including without limitation the rightsto use, copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in allcopies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THESOFTWARE. |
请发表评论