- Android View Model Not Maintaining State During Configuration ChangeI ran into the issue of a ViewModel not maintaining the apps UI state when I first started working with ViewModels and it was due to a something that I simply overlooked at the time. So if you are just starting out and running into the same issue maybe this post will help you out.… Read more: Android View Model Not Maintaining State During Configuration Change
- Clear Focus in Material 3 Composables – Jetpack ComposeAs I continue my exploration into Jetpack Compose I ran into an interesting problem. After tapping on a TextField and filling out the contents, the cursor continued to blink. It didn’t matter if I taped outside of the field or closed the virtual keyboard, the cursor just continued to blink. Which is interesting, because I… Read more: Clear Focus in Material 3 Composables – Jetpack Compose
- How to use remember and rememberSaveable in Jetpack ComposeIn this post we’ll cover how and when to use the remember and rememberSaveable Composable functions in Jetpack Compose. If you’ve just started to learn about state in compose, chances are the functions listed above have been introduced. When I first started ramping up on Jetpack Compose a lot of the documentation that I read… Read more: How to use remember and rememberSaveable in Jetpack Compose
- How to Easily Add kotlinx.coroutines to Your Intellij ProjectIf you landed here I’m guessing you had a bit of an issue adding the kotlinx.coroutines package to you project. Or possibly are looking to add it. I’m not sure if I was doing something incorrectly or just don’t know enough about how Intellij works yet, but I ran into more difficulties than I expected.… Read more: How to Easily Add kotlinx.coroutines to Your Intellij Project
- How To Add A Jetpack Compose ButtonAdding a Simple Button Adding a simple button with just some text. Sometimes you just want a button. The Column composable is not required. I added it because I’m testing out several different buttons and I want them all lined up down the center of the screen. To add a button to your app use… Read more: How To Add A Jetpack Compose Button
Follow My Blog
Get new content delivered directly to your inbox.