Kotlin 的 Extension 讓你可以為既有的Class去加上一個 function,而不用去修改該Class的程式碼。
在Design Pattern裡有一種pattern叫 Delegation pattern。是指物件將一個請求委派給另一個物件來處理
Kotlin 的 function是屬於一級函式(first-class function),意思是…
Android 工程師必備的自動化測試|從單元測試到 TDD、CI/CD
ConstraintLayout…
新課上架啦!
Android 架構設計 用…
上一篇介紹ShapeableImageView 可以讓圖片的4個角變成圓角或斜角。
隨著Material Design Component 1.2 正式版發佈,就來試試這次新增的ShapeableImageView。你可以用這個imageView做出下圖的形狀。