59 Star 171 Fork 37

余生1994 / XBaseAndroid

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

Jitpack Platform Author

XBaseAndroid

一款集成了网络请求,本地缓存,配置文件,数据库映射,权限申请,链表管理Activity,简化Activity、Service、Broadcast启动, 万能ListView,GridView适配器、高仿IOS弹窗、倒计时/延迟执行,标题栏组件,图片显示,webview引擎,APP更新组件,APP崩溃日志组件,事件总线.

本人学疏才浅,希望有兴趣的朋友一起加入进来完善框架,致力于打造最方便快捷的开发框架。由于最近我的全部业余时间都投入到了XBaseWeb-Plus的开发当中(基于Springboot的后端开发框架,让开发专注于业务功能,敏捷开发)。文档DEMO并非详细,大家可以看看源码,有建议或者不懂得地方欢迎打扰!(↓↓↓↓联系我↓↓↓↓

项目地址:https://github.com/fanhua1994/XBaseAndroid

新文档全部完善。

新文档地址:https://www.jianshu.com/nb/20489476

BaseAndroid

版本更新

目前最新版本是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文件下加入

1.3.2以上版本使用时,请添加以下代码

android.useAndroidX=true
android.enableJetifier=true

5.build.gradle新增代码

android节点下添加

 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

邮箱:90fanhua@gmail.com18383219470@163.com

QQ :975303544(备注来意)

代码提交

点我立即提交代码

copyright

MIT License

Copyright (c) 2020 繁华穿越现实

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, 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 THE
SOFTWARE.

Comments ( 5 )

Sign in for post a comment

About

【已过时】一款集成了网络请求,本地缓存,配置文件,数据库映射,权限申请,链表管理Activity,简化Activity、Service、Broadcast启动, 万能ListView,GridView适配器、高仿IOS弹窗、倒计时/延迟执行,标题栏组件,图片显示,webview引擎,APP更新组件,APP崩溃日志组件 spread retract
Android and 2 more languages
MIT
Cancel

Releases

No release

Gitee Metrics

Contributors

All

Activities

load more
can not load any more
Android
1
https://gitee.com/fanhua1994/XBaseAndroid.git
git@gitee.com:fanhua1994/XBaseAndroid.git
fanhua1994
XBaseAndroid
XBaseAndroid
master

Search