Dan Lew Codes
  • Github
Sign in Subscribe

notifications

A collection of 3 posts
android

Notifications in Android 8.1

Last time I wrote about notification channels [https://blog.danlew.net/2017/09/06/working-with-android-notification-channels/] I described a complicated solution to create the best balance between automatic bundling vs. not annoying the daylights out of the user: > * Have as few channels as possible make noise by default. * Use summaries
22 Jan 2018 1 min read
android

Working With Android Notification Channels

Google has introduced notification channels [https://developer.android.com/preview/features/notification-channels.html] to Android Oreo. Each notification is now associated with a channel, and the user is granted control over how each channel presents notifications. For developers, channels are a double-edged sword. On the one hand, it is great
06 Sep 2017 6 min read
android

Correctly handling bundled Android notifications

Bundled notifications on Android are a tricky business. Individual, fire-and-forget notifications are simple. You create a Notification [https://developer.android.com/reference/android/app/Notification.html], send it to NotificationManagerCompat [https://developer.android.com/reference/android/support/v4/app/NotificationManagerCompat.html] , and the system handles the rest. Bundled notifications allow
07 Feb 2017 3 min read
Page 1 of 1
Dan Lew Codes © 2025
Powered by Ghost