ViewModelActivity·Fragment 회전·재생성에도 상태 보존한다.class UserViewModel : ViewModel() { val state = MutableStateFlow(UserState()) }