ViewModel has no zero argument constructor
Lumberjack100 opened this issue · comments
Lumberjack commented
使用 getApplicationScopeViewModel(Class modelClass) 方法初始化 ViewModel 时,如果传入的是一个 AndroidViewModel,会报
java.lang.Class<com.kunminx.puremusic.domain.message.SharedViewModel> has no zero argument constructor
想请教下 AndroidViewModel 怎么使用 Application context 初始化?
Lumberjack commented
Lumberjack commented