Today learned ViewModel in SavedState, you need to add a dependent use, then create a ViewModel in traditional Chinese medicine to pass into the Activity parameters MyViewModel create a constructor with parameters, parameters of type SavedStateHandle,.
Winter vacation learning progress thirteen
Guess you like
Origin www.cnblogs.com/wyppaa/p/12305678.html
Recommended
Ranking