Writing
4 posts from 2017.
2017 · all posts
Dec 24, 2017 · 09:004 min
Notification Channels in Android O
Android O handed users direct control over notification categories — sound, vibration, lock screen visibility, and Do Not Disturb overrides, all per channel. Here's how to create channels and assign notifications to them.
Nov 12, 2017 · 09:0015 min
Getting Started with Room
Room is Android's SQLite object-mapping library — less boilerplate than raw SQLite, compile-time query verification, and clean separation between your data model and database logic. This is a walkthrough building a Todo app with full CRUD.
Oct 28, 2017 · 09:0012 min
Custom Fonts using Support Library
Google I/O 2017 brought native font support to Android. Support Library 26 extended it back to API 14 — fonts as resources, downloadable on demand via Google Fonts, shareable across apps. Here's how all three approaches work.
May 20, 2017 · 09:0015 min
Making Your Own Views
Android's built-in Checkbox had a frustrating click-registration bug in list views. This is how I replaced it by extending View directly — covering onMeasure, onDraw with Canvas, Path-based tick marks, and a custom listener interface.