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

鍍金池/ 教程/ Android/ <a rel="nofollow" href="http://blog.danlew.net/2014/11/19/styles
Launch mode 和 Intent flags專題
Canvas &amp; Drawables
UTAustinX_UT.9.01x: Effective Thinking Through Mathematics
《JavaScript 語言精粹》
Memory leak專題
React基礎
《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
關系型數(shù)據(jù)庫設計范式
《App研發(fā)錄》一書
REST API設計
Google IO 2015摘要
自定義View/ViewGroup以及高性能實現(xiàn)自定義UI
安卓系統(tǒng)點擊事件處理
《50 Android Hacks》一書
Building Apps with Content Sharing
Flux基礎
<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源碼設計模式解析與實戰(zhàn)》一書
Rx在Android中的最佳實踐
函數(shù)調(diào)用時,傳遞參數(shù)應該是不可變的(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ā)/安卓測試驗證
暗時間:學會正確思考
技術筆記
Aspect Oriented Programming(AOP)
Best Practices for Background Jobs
安卓系統(tǒng)動效專題
Feed系統(tǒng)的設計
Data binding(MVVM,Model-View-ViewModel)
Effective Java一書筆記
<a rel="nofollow" href="http://developer.android.com/training/in
Rx (Reactive eXtention)
MultiDex專題
一些很棒的點子
WebRTC

<a rel="nofollow" href="http://blog.danlew.net/2014/11/19/styles

  • 當多個View語義上相同時:不僅樣式相同,而且View的功能也相同;

  • 當某項數(shù)值在多處使用時,style中的數(shù)值使用引用方式定義(抽離為dimen,color等);

    • 將數(shù)值抽離出來,使用引用方式,不僅可以減小重復,方便修改;還能根據(jù)不同屏幕尺寸、橫豎屏,為同一引用定義不同的值;
  • 一個View不能使用多個style,但可以通過繼承style,并且改變parent style的值,達到和CSS類似效果;

  • 盡可能使用android:textAppearance屬性,來定義TextView及其子類(EditText,Button等)的文字樣式;

  • 只會使用一次的時候,不要使用style;當需要重復使用的時候,添加style很方便,不必過度提前考慮;

  • 不要只因為多個View使用同樣的attributes就創(chuàng)建style;因為如果功能不同,有可能以后會變得樣式不一樣;

  • style指定parent有兩種方式:隱式,name="Parent.Child";顯式,name="Child" parent="Parent"

    • 不要兩者同時使用,否則只有顯式會生效;
    • 建議name屬性不要帶點,使用parent屬性指定父style,而parent屬性中使用點,隱式指定父style;
  • 不要混淆style和theme;
    • style修飾單個View,theme修飾View集合,或整個Activity;