Skip to content

Create ViewModel

Adi Andrea edited this page Sep 10, 2024 · 1 revision

ViewModel classes will be responsible to manage our business logic.

class AuthenticationViewModel
@Inject constructor(private val dataManager: DataManager) : BaseViewModel() {
    //your business logic here
}
Clone this wiki locally