前言 本文翻譯自【Android Architecture: Communication between ViewModel and View】...
![240](https://upload.jianshu.io/collections/images/512356/MVVMArms__Architecture.png?imageMogr2/auto-orient/strip|imageView2/1/w/240/h/240)
前言 本文翻譯自【Android Architecture: Communication between ViewModel and View】...
前言 本文翻譯自【5 common mistakes when using Architecture Components】,介紹了在使用 An...
背景 在谷歌官方的最新框架中我們可以學到的一個新組件就是LiveData,能夠監(jiān)聽生命周期的變化并且在適當?shù)纳芷谥谢卣{(diào)方法,有效的解決了之前...
本文首發(fā)于“隨手記技術(shù)團隊”公眾號 大概從2015年開始,RxJava1.0開始快速流行起來隅肥,短短兩年時間,RxJava在Android開發(fā)中已...
原文地址:https://lovestack.github.io/2017/11/13/LiveData/ demo:https://githu...
作者: Dawish_大D簡書: http://www.reibang.com/u/40e1f22c2c53 (一)Android官方MVVM框...
1.關(guān)于MediatorLiveData的addSource()方法 從注釋來看,addSource()是add一個LiveData對象作為一個...
原文鏈接:http://bxbxbai.github.io/2015/12/13/retrofit2-analysis/ 開發(fā)Android A...
前言 本篇文章主要介紹如何利用OkHttp3實現(xiàn)下載進度的監(jiān)聽挤忙。其實下載進度的監(jiān)聽,在OkHttp3的官方源碼中已經(jīng)有了相應的實現(xiàn)(傳送門)谈喳,我...
官方文檔鏈接:https://google.github.io/dagger/testing.html 1.前言 官網(wǎng)上還有篇關(guān)于Java中異步...