編輯:關於 Android 程式設計
想快速長功力,最有效的方式往往不是讀書,而是去讀那些真正厲害的人寫的程式碼。以下整理一批樂於分享、且作品品質相當高的個人與組織。找到他們的 GitHub 之後,再往下挖他們的專案與 following,通常還能再挖出一整片寶藏。
GitHub:https://github.com/JakeWharton
部落格:https://jakewharton.com/
代表作:ActionBarSherlock、Android-ViewPagerIndicator、Nine Old Androids、SwipeToDismissNOA、hugo、butterknife、Android-DirectionalViewPager、scalpel、pidcat
作品集中在 Android 版本相容、ViewPager 與開發工具這幾個方向,幾乎每一個都是當年許多專案會直接引入的基礎建設。
GitHub:https://github.com/chrisbanes
部落格:https://chris.banes.me/
代表作:ActionBar-PullToRefresh、PhotoView、Android-BitmapCache、Android-PullToRefresh
GitHub:https://github.com/koush
部落格:https://koush.com/
代表作:Superuser、AndroidAsync、UrlImageViewHelper、ion,另外對 CyanogenMod 底下的多個專案也有大量貢獻
GitHub:https://github.com/SimonVT
部落格:https://simonvt.net/
代表作:android-menudrawer、MessageBar
GitHub:https://github.com/ManuelPeinado
代表作:FadingActionBar、GlassActionBar、RefreshActionItem、QuickReturnHeader
GitHub:https://github.com/emilsjolander
部落格:https://emilsjolander.se/
代表作:StickyListHeaders、sprinkles、android-FlipView
GitHub:https://github.com/greenrobot
網站:https://greenrobot.de/
代表作:greenDAO、EventBus
GitHub:https://github.com/jgilfelt
網站:https://jeffgilfelt.com
代表作:android-mapviewballoons、android-viewbadger、android-actionbarstylegenerator、android-sqlite-asset-helper
另外補充一個有意思的連結:ViewServer 作者 Romain Guy 的攝影作品 https://www.flickr.com/photos/romainguy ,水準相當高。
GitHub:https://github.com/square
網站:https://square.github.io/
代表作:okhttp、fest-android、android-times-square、picasso、dagger、spoon 等
相當有態度也肯分享的公司,幾乎每個專案都寫得乾淨、文件齊全,很適合當作工程實作的範本。
GitHub:https://github.com/inmite
網站:https://www.inmite.eu/
代表作:android-styled-dialogs、android-grid-wichterle、android-selector-chapek
名單會隨時間改變,但方法不變:找到幾位你欣賞的作者,把ically 他們的專案從頭讀過一遍,再沿著他們的 following 擴散出去,一年下來累積的知識量會相當可觀。
觀察者模式在 Android 開發中的實踐指南
上一篇文章已經介紹過觀察者模式的定義與基本概念。在 Android 開發中,觀察者模式的應用其實非常廣泛,例如按鈕事件監聽、廣播等等,凡是類似「新聞訂閱」的場景都能派上用
Android App Widget 桌面插件開發完整教程
一、什麼是 App Widget App Widget 是嵌入在其他應用(最典型的就是桌面)中的微型應用視圖,它能接收週期性更新。你可以透過一個 AppWidgetPro
Android UI 開發利器:Android Action Bar Style Generator
ActionBar 是 Android 3.0 之後的 UI 設計規範,也是 Google 極力推薦的設計風格。那麼,如何快速設計一個順眼的 ActionBar?更进一步
《Android源碼設計模式解析與實戰》讀書筆記(十八):代理模式
第十八章、代理模式 代理模式也稱委託模式,是結構型設計模式之一,也是應用最廣泛的模式之一。 1. 定義 為其他物件提供一種代理,以控制對該物件的存取。 2. 使用場景 當