Dapatkan konteks dalam tampilan model Kotlin

class ActivityViewModel(application: Application) : AndroidViewModel(application) {

    private val context = getApplication<Application>().applicationContext

    //... ViewModel methods 

}
Distinct Dog