在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 教程/ Android/ MultiDex專題
Launch mode 和 Intent flags專題
Canvas & Drawables
UTAustinX_UT.9.01x: Effective Thinking Through Mathematics
《JavaScript 語言精粹》
Memory leak專題
React基礎(chǔ)
《Test Driven Development: By Example》一書
Developer tools
安卓開發(fā)技能樹
<a rel="nofollow" href="https://mp.weixin.qq.com/s?__biz=MzA3NDM
Best Practices for Interaction and Engagement
各個安卓版本引入的主要新特性
Building Apps with Connectivity &amp; the Cloud
List.toArray()再強轉(zhuǎn)是一定會失敗的
深入Android frameworks
Google dev 100 days系列視頻
Building Apps with Contacts &amp; Sign-In
關(guān)系型數(shù)據(jù)庫設(shè)計范式
《App研發(fā)錄》一書
REST API設(shè)計
Google IO 2015摘要
自定義View/ViewGroup以及高性能實現(xiàn)自定義UI
安卓系統(tǒng)點擊事件處理
《50 Android Hacks》一書
Building Apps with Content Sharing
Flux基礎(chǔ)
<a rel="nofollow" href="http://developer.android.com/training/in
依賴注入(以Dagger 2為例)
Java同步機制
Java對象內(nèi)存的使用情況
JSR133(Java memory model)
Google官方Material Design手冊(<a rel="nofollow" href="http://develop
Futurice公司安卓團隊的建議
安卓性能優(yōu)化
  • 1.
Best Practices for Performance
<a rel="nofollow" href="http://www.vogella.com/tutorials/Android
<a rel="nofollow" href="http://blog.danlew.net/2014/11/19/styles
Handling Runtime Changes
<a rel="nofollow" href="http://www.vogella.com/tutorials/Android
Building Apps with Graphics &amp; Animation
<a rel="nofollow" href="http://tools.android.com/tech-docs/new-b
Android項目架構(gòu)
MVP(Model-View-Presenter)模式
<a rel="nofollow" href="http://www.infoq.com/cn/es6-in-depth/"">
《Android源碼設(shè)計模式解析與實戰(zhàn)》一書
Rx在Android中的最佳實踐
函數(shù)調(diào)用時,傳遞參數(shù)應(yīng)該是不可變的(Immutable)
ProGuard
面向?qū)ο罅笤瓌t(SOLID+)
深入理解Java虛擬機
深入Java深淺拷貝、immutable、unmodifiable
Best Practices for User Input
UI上的一些高效方式/最佳實踐
<a rel="nofollow" href="https://blog.stylingandroid.com/ripples-
Best Practices for User Interface
安卓測試驅(qū)動開發(fā)/安卓測試驗證
暗時間:學(xué)會正確思考
技術(shù)筆記
Aspect Oriented Programming(AOP)
Best Practices for Background Jobs
安卓系統(tǒng)動效專題
Feed系統(tǒng)的設(shè)計
Data binding(MVVM,Model-View-ViewModel)
Effective Java一書筆記
<a rel="nofollow" href="http://developer.android.com/training/in
Rx (Reactive eXtention)
MultiDex專題
一些很棒的點子
WebRTC

MultiDex專題

首先,了解自己當(dāng)前的狀況

  • dex方法數(shù)統(tǒng)計工具
    • Dexcount Gradle Plugin,gradle插件,每次打包過程中把每個包的方法數(shù)寫到build文件夾下的一個文件中
    • dex-method-counts,命令行工具,統(tǒng)計dex文件內(nèi)的方法數(shù)
    • ClassyShark,GUI工具,查看apk內(nèi)的dex分包,每個dex文件的方法數(shù)統(tǒng)計,每個dex文件里面有哪些class
    • ProGuard,移除未引用的類,避免觸及65535方法上限
    • 這些工具都可以用來了解當(dāng)前工程的方法數(shù)(使用ProGuard前后),知悉各個包、各個庫的方法數(shù)量,對于方法數(shù)很多、使用量少的庫,應(yīng)該移除依賴,或者通過適當(dāng)配置ProGuard來移除,應(yīng)該盡量避免MultiDex

盡量減少方法數(shù),避免MultiDex,無法避免時優(yōu)化MultiDex的性能

  • multidex時,放到主dex文件的類是由proguard來檢測的,有時它并不是完整的,需要手動配置,還可以通過檢測冷啟動期間被加載了哪些類,然后通過配置把它們加入主dex中,從而達(dá)到multidex時冷啟動加速的效果。詳情
  • 全新的Android編譯系統(tǒng):Jack & Jill(尚不成熟)

副dex異步加載技術(shù)