|
4 年之前 | |
---|---|---|
.github | 4 年之前 | |
docs | 4 年之前 | |
gradle | 4 年之前 | |
kalle | 4 年之前 | |
net | 4 年之前 | |
sample | 4 年之前 | |
.gitignore | 5 年之前 | |
README.md | 4 年之前 | |
build.gradle | 4 年之前 | |
gradle.properties | 4 年之前 | |
gradlew | 5 年之前 | |
gradlew.bat | 5 年之前 | |
mkdocs.yml | 4 年之前 | |
settings.gradle | 4 年之前 | |
temp.md | 4 年之前 |
不仅仅是网络请求的异步任务库
Android上 最强网络任务库, 创新式的网络请求库(针对Kalle网络请求框架进行扩展), 支持协程高并发网络请求
Net 1.0+ 版本为RxJava实现
Net 2.0+ 版本开始引入Kotlin协程特性, 开发者无需掌握协程也可以使用
目前正在进行的任务
主要新增特性
同时完全不影响Kalle的特性
在项目根目录的 build.gradle 添加仓库
allprojects {
repositories {
// ...
maven { url 'https://jitpack.io' }
}
}
在 module 的 build.gradle 添加依赖
// 协程库(版本自定)
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.0'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.0'
// 支持自动下拉刷新和缺省页的(可选)
implementation 'com.github.liangjingkanji:BRV:1.3.8'
implementation 'com.github.liangjingkanji:Net:2.2.10'
The project is 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.