InAiworksbyWayne Chen·Apr 7, 2021Android 序列化 Parcelable v.s. Serializable什麼是序列化?為什麼要序列化?怎麼去實作序列化?本篇將說明關於兩種序列化的一些差異以及如何實作。
InAiworksbyWayne Chen·Mar 24, 2019Java 8 for Android: Lambda ExpressionsLambda Expressions 是能夠有效幫助我們簡化程式碼的方法之一,在現今支援 Java 8 的 Android Studio 中,即便不去使用,也必須要懂得閱讀。
InAiworksbyWayne Chen·May 14, 2018Google Material System 2018Google 從 2014 推出 Material Design 開始,圍繞在這系統不斷地推出新的設計及規範,就在上週 Google IO 釋出了 Material Theme Editor、Gallery、Icons 以及 Color Tool…
Wayne Chen·May 8, 2018Android 波紋效果 Ripple EffectAndroid Material Design 中,使用預設 Button 的話,我們會看到觸碰回饋就是波紋效果,那當我們使用自定義 background 的時候呢?這邊就是來介紹一下如何實作波紋效果。A response icon1A response icon1
Wayne Chen·May 7, 2018Android RecyclerView 搭配 Custom RecyclerView.Adapter 基礎使用還停留在以前的 ListView 或 GridView 嗎?RecyclerView 幫助我們一次完成多種需求。
Wayne Chen·May 4, 2018Android 基礎的 Fragment 使用方式現在我們在開發 Android App 的時候,大多數脫離不了 Fragment 的設計,所以這邊就來彙整一些 Fragment 的基本使用。A response icon3A response icon3
Wayne Chen·May 2, 2018Android 如何從 local.properties, build.gradle 讀取定義的屬性我們在實作專案的時候,通常會有些屬性是僅限於個人使用,或者是開發者專用,不需要或是被禁止上傳到 GitHub 的屬性,例如 developer key 之類的,這邊就提供將這類屬性定義在 local.properties 裡,並且去讀取使用的方法。
Wayne Chen·May 1, 2018Android Status Bar 透明化 Transparent因應不同產品的需求,我們可能會需要將畫面延伸至 status bar 的部分,所以需要將 status bar 透明化。但基本上,這邊並不是做到沉浸式 (隱藏 status bar) 的效果,而是直接將我們的 layout 延伸到 status bar 的後面。