前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >github 项目地址

github 项目地址

作者头像
全栈程序员站长
发布2022-09-13 10:21:07
5490
发布2022-09-13 10:21:07
举报
文章被收录于专栏:全栈程序员必看

大家好,又见面了,我是你们的朋友全栈君。

AutoSize:

代码语言:javascript
复制
implementation 'me.jessyan:autosize:1.2.1'  2021/01/22

https://github.com/JessYanCoding/AndroidAutoSize

MQTT

https://github.com/mcxiaoke/mqtt

lottie:

吊炸天的项目 — Lottie学习研究(入门篇)

Android :

https://github.com/airbnb/lottie-android

iOS : https://github.com/airbnb/lottie-ios

ReactNative : https://github.com/airbnb/lottie-react-native

三级联动的滚轮选择器:

https://github.com/androidzhangjin/citypicker

RxJava:

https://github.com/ReactiveX/RxAndroid

https://github.com/ReactiveX/RxJava

官网:reactivex.io

RxJava是响应式编程(Reactive Extensions)的java实现,它基于观察者模式的实现了异步编程接口。

Rxjava 3.0的一些改变:官方Wiki;https://github.com/ReactiveX/RxJava/wiki/What’s-different-in-3.0

Rxjava 3.x 文档可以在官方javadoc中找到: RxJava Javadoc 3.1.1

1,Retrofit + RxJava3组合使用 首先要引入依赖

implementation “io.reactivex.rxjava3:rxjava:3.0.0” implementation ‘io.reactivex:rxandroid:1.2.1’ implementation ‘com.squareup.retrofit2:retrofit:2.7.0’ implementation ‘com.squareup.retrofit2:adapter-rxjava3:2.9.0’ 相关配置module下的build.gradle

android { compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } 注意Retrofit和RxJava组合使用时,Retrofit中使用的rxjava适配器(adapter-rxjava3)要和RxJava版本(io.reactivex.rxjava3:rxjava:3.0.0)一致;如本例都是使用的时3.0;关于先前Rerotfit没有Rxjava3.0适配器问题;android – Which rxjava3 retrofit-adapter should we use for Rxjava3 – Stack Overflow

android使用:

代码语言:javascript
复制
allprojects {
    repositories {
        maven { url "https://oss.jfrog.org/libs-snapshot" }
    }
}

dependencies {
    implementation 'io.reactivex.rxjava3:rxandroid:3.0.0'
    // Because RxAndroid releases are few and far between, it is recommended you also
    // explicitly depend on RxJava's latest version for bug fixes and new features.
    // (see https://github.com/ReactiveX/RxJava/releases for latest 3.x.x version)
    implementation 'io.reactivex.rxjava3:rxjava:3.0.0'
}

rxbinding:

防抖动

https://github.com/JakeWharton/RxBinding

Gson:

https://github.com/google/gson

android使用:

代码语言:javascript
复制
dependencies {
  implementation 'com.google.code.gson:gson:2.8.7'
}

Gilde:

https://github.com/bumptech/glide/releases/tag/v4.7.0

历史发布版本:

https://github.com/bumptech/glide/releases

https://github.com/bumptech/glide

repositories { google() jcenter() } dependencies { implementation ‘com.github.bumptech.glide:glide:4.11.0’ annotationProcessor ‘com.github.bumptech.glide:compiler:4.11.0’ }

OKHttp:

https://github.com/square/okhttp

官网 : OkHttp

dependencies {

// define a BOM and its version

implementation(platform(“com.squareup.okhttp3:okhttp-bom:4.9.0”))

// define any required OkHttp artifacts without version implementation(“com.squareup.okhttp3:okhttp”)

implementation(“com.squareup.okhttp3:logging-interceptor”)

}

okhttp3-loginterceptor

https://github.com/parkingwang/okhttp3-loginterceptor

retrofit:

https://github.com/square/retrofit/

代码语言:javascript
复制
implementation  'com.squareup.retrofit2:retrofit:2.9.0'

Butter Knife (jakewharton.github.io)

官网: Butter Knife

https://github.com/JakeWharton/butterknife

代码语言:javascript
复制
android {
  ...
  // Butterknife requires Java 8.
  compileOptions {
    sourceCompatibility JavaVersion.VERSION_1_8
    targetCompatibility JavaVersion.VERSION_1_8
  }
}

dependencies {
  implementation 'com.jakewharton:butterknife:10.2.3'
  annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.3'
}

JNA:git地址:

GitHub – java-native-access/jna: Java Native Access

kotlin:

https://github.com/android/architecture-components-samples

第三方动态权限请求框架

https://github.com/tbruyelle/RxPermissions

好看的天气项目:

https://github.com/wdsqjq/FengYunWeather

发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/160268.html原文链接:https://javaforall.cn

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • AutoSize:
  • MQTT
  • lottie:
  • Android :
  • 三级联动的滚轮选择器:
  • RxJava:
  • rxbinding:
  • Gson:
  • Gilde:
  • https://github.com/bumptech/glide/releases/tag/v4.7.0
  • OKHttp:
  • okhttp3-loginterceptor
  • retrofit:
  • Butter Knife (jakewharton.github.io):
  • JNA:git地址:
  • kotlin:
  • 第三方动态权限请求框架
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档