Рет қаралды 2,244
State Management in Jetpack Compose is one of the most important things in order to create clean Composables, to separate responsibilities and to always display the right state to the user. In this video we will have a look at the best practices to manage your state. E.g. how to create state, where to create it or when you actually should use ViewModels / state holder classes.
00:00 How to properly create state variables
10:20 State holder classes (When to use ViewModels/plain state holders)