ViewModelKt

public final class ViewModelKt


Summary

Public fields

final @NonNull CoroutineScope

CoroutineScope tied to this ViewModel.

Public fields

viewModelScope

@NonNull
public final @NonNull CoroutineScope viewModelScope

CoroutineScope tied to this ViewModel. This scope will be canceled when ViewModel will be cleared, i.e ViewModel.onCleared is called

This scope is bound to Dispatchers.Main.immediate