What is the meaning of “[Someclass::class.java]” in Kotlin?

后端 未结 0 1113
庸人自扰
庸人自扰 2021-01-11 17:50

I\'ve seen people using ViewModelProvider[Someclass::class.java] instead of ViewModelProvider.get(Someclass::class.java), and it compiles in Android Studio. The problem is t

相关标签:
回答
  • 消灭零回复
提交回复
热议问题