Rob Kerr's Blog
  • Home
  • About
  • Portfolio
Sign in Subscribe

Jetpack Compose

A collection of 2 posts
Kotlin

Android Jetpack Compose View Model Eventing Architecture

A common Android architectural pattern is to consume events in a UI View that are triggered from asynchronous web service code in a View Model.  While there are many approaches to solving this problem, I wanted to share the approach I often use.  You may have another approach that works
Apr 4, 2023 4 min read
Jetpack Compose

Adding a dropdown menu to a Jetpack Compose TopAppBar

Adding a dropdown menu to a Jetpack ComposeTopAppBar is quite easy, but simple examples aren't so easy to find! This post has a canonical example to use as a basis for your dropdown menu. Add a Scaffold that Includes a TopAppBar The first step is to create the Compose view
Sep 19, 2021 2 min read
Page 1 of 1
Rob Kerr's Blog © 2023
  • Sign up
Powered by Ghost