# 注:项目中的所有核心模块已托管,托管地址https://github.com/yuanhy/AppframeworkLib
# 如有疑问可联系:QQ 375082603(免费解答)
#1.引用方式
工程的gradle 中添加
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
#项目的gradle 中添加
dependencies {
implementation 'com.github.yuanhy:AppframeworkLib:Tag'
}
#2. 项目中所引用的外部动态库
implementation 'com.jakewharton:butterknife:9.0.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:9.0.0'
implementation 'com.github.bumptech.glide:glide:3.7.0'
implementation 'io.reactivex.rxjava2:rxjava:2.2.8'
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
implementation 'com.squareup.retrofit2:retrofit:2.5.0'
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
implementation 'com.squareup.okhttp3:okhttp:3.12.0'
// 日志的拦截器,也可以自行选择
implementation 'com.squareup.okhttp3:logging-interceptor:3.6.0'
#3 在 Application 初始化
# AppFramentUtil.initAppFramentUtil(this);
#4 功能介绍:
a: 断点下载文件
使用方式 参考:FileDownActivity
b: MVP 架构模式
参考 :RetrofitAndRxjavaDemoActivity
c: 版本更新
参考 :AppUpdataActivity
d:app状态栏 适配
使用方式 集成BaseActivity
实现 setTransparent接口/**
public void setTransparent() {
setTransparent(boolean transparent);//true 黑色字体,白色背景;false 白色字体
}
appframework's Introduction
appframework's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.