Introduction At PL Coding, we frequently get asked about the best way to handle state in ViewModels. Why is this such a common question? State management is a crucial part of Android, and I believe it is because so many options are available that developers get...
Credential Manager
What Is Credential Manager? Credential Manager is a Jetpack Compose API that isolates the intergration for credential management of our user’s into a single API and supports multiple sign-in options. These options include: Passkeys. Put simply, they are session tokens...
Using popBackStack()? Then Your App Likely Has a Bug.
Compose Navigation - The Basics Your app maintains what is called a back stack. A back stack is simply a stack of screens (navigation destinations) placed on each other (like a stack of pancakes). The deeper the user navigates into your app, going from screen A to...
Top 5 Practices for More Scalable Android Architecture
When it comes to Android architecture, there are a few best practices you can't do anything wrong with. What does it even mean for your architecture to be more scalable? Think about creating insurance for the application you are working on to handle feature growth and...
How to Implement Official Type-Safe Navigation With Jetpack Compose & Custom Types
The declarative UI code that Jetpack Compose has introduced has been a fantastic development. Creating and reviewing UI code has never been easier! With all the positives it came with, there was one area where I felt that Jetpack Compose...