Component - State in ViewModel
This UI component demonstrates how a ViewModel holds and manages UI state in an Android app using Kotlin. The ViewModel keeps the state data separate from the UI, so the UI can observe and react to changes without directly managing the data.