|
4 anni fa | |
---|---|---|
.github | 4 anni fa | |
docs | 4 anni fa | |
gradle | 4 anni fa | |
kalle | 4 anni fa | |
net | 4 anni fa | |
sample | 4 anni fa | |
.gitignore | 5 anni fa | |
LICENSE | 4 anni fa | |
README.md | 4 anni fa | |
build.gradle | 4 anni fa | |
gradle.properties | 4 anni fa | |
gradlew | 5 anni fa | |
gradlew.bat | 5 anni fa | |
mkdocs.yml | 4 anni fa | |
settings.gradle | 4 anni fa | |
temp.md | 4 anni fa |
不仅仅是网络请求的异步任务库
搜索文件: nav_main
打开即可查看和跳转侧滑菜单所有功能界面 (任何疑问点击QQ群作者一对一解答)
Android上不是最强网络任务库, 创新式的网络请求库(基于Kalle/OkHttp), 支持协程高并发网络请求
是目前Android上最简洁和功能最多的网络请求库, 也是扩展性最强的, 可以完美适应任何项目的后端要求, 有最详细的文档和最简练的Demo. 并且还是一个异步任务库.
Net 1.x 版本为RxJava实现
Net 2.x 版本为协程实现(开发者无需掌握协程也可以使用)
正在进行的任务
主要新增特性
同时完全不影响Kalle的特性
在项目根目录的 build.gradle 添加仓库
allprojects {
repositories {
// ...
maven { url 'https://jitpack.io' }
}
}
在 module 的 build.gradle 添加依赖
// 协程库(版本自定)
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.9'
// 支持自动下拉刷新和缺省页的(可选)
implementation 'com.github.liangjingkanji:BRV:1.3.15'
implementation 'com.github.liangjingkanji:Net:2.3.7'
supported by JetBrains
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.