github 项目地址

github 项目地址AutoSize:implementation’me.jessyan:autosize:1.2.1’2021/01/22https://github.com/JessYanCoding/AndroidAutoSize

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

AutoSize:

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使用:

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使用:

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/

implementation  'com.squareup.retrofit2:retrofit:2.9.0'

Butter Knife (jakewharton.github.io)

官网: Butter Knife

https://github.com/JakeWharton/butterknife

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.net/160268.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • LaTex学习笔记——LaTeX公式换行

    LaTex学习笔记——LaTeX公式换行ps.  1、“\!”表示其前后字符之间无间隙       2、暂留       3、段落中的数学表达式应该置于(和), $和$ 或者begin{math}和end{math} 之间。       4、对于较大的数学式子,最好的方法是使用显示式样来排版:将它们放置于[和]或begin{displaymath}和end{displaymath}之间。这样排版出的公式是没有编号…

    2022年6月7日
    162
  • zergRush (CVE-2011-3874) 提权漏洞分析

    zergRush (CVE-2011-3874) 提权漏洞分析转战Android试水老洞,zergRush(CVE-2011-3874)ROOT提权漏洞原理的技术分析。

    2022年7月2日
    25
  • 音乐播放器app android,mp3音乐播放器[通俗易懂]

    音乐播放器app android,mp3音乐播放器[通俗易懂]mp3音乐播放器是一款可以播放各种格式音乐的音乐播放器,mp3播放器将轻松引导您在手机上查找所有音乐。软件介绍mp3音乐播放器以优雅,简单的用户界面欣赏您的音乐-mp3播放器是一个完美的选择。您还可以在此MP3播放器中选择所需的颜色主题或播放器主题。软件特色MP3播放器!收听MP3OGG,WAV,MO3,MP4,M4A音乐…均衡器具有出色的声音其漂亮的用户界面与材料设计指南的所有细节相匹配。…

    2022年6月26日
    31
  • MySQL多表关联查询

    MySQL多表关联查询SQL连接(JOIN)子句用于把来自两个或多个表的行结合起来,基于这些表之间的共同字段。连接的结果可以在逻辑上看作是由SELECT语句指定的列组成的新表。左连接与右连接的左右指的是以两张表中的哪一张为基准,它们都是外连接。外连接就好像是为非基准表添加了一行全为空值的万能行,用来与基准表中找不到匹配的行进行匹配。假设两个没有空值的表进行左连接,左表是基准表,左表的所有行都出现在结果中,右表则可能

    2022年5月5日
    47
  • Android 用ListView实现排序「建议收藏」

    Android 用ListView实现排序「建议收藏」点击“单价”按钮或“数量信息”按钮,可按据升序或降序进行排序。布局没什么好说的在这里插入代码片<LinearLayoutxmlns:android=”http://schemas.android.com/apk/res/android”xmlns:app=”http://schemas.android.com/apk/res-auto”xmlns:tools=”http://schemas.android.com/tools”android:layout_widt

    2025年11月10日
    7
  • ssdp协议内容解析视频_固态硬盘的协议

    ssdp协议内容解析视频_固态硬盘的协议SSDP协议内容解析

    2022年10月11日
    6

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号