MainViewModel
class MainViewModel @Inject constructor(apiService: CoreApiService, dataService: CoreDataService, dataServices: Set<@JvmSuppressWildcards IAppDatabase>, preferences: Set<@JvmSuppressWildcards IAppPreferences>) : ViewModel
Content copied to clipboard
Main ViewModel for app
Author
Vitaliy Zarubin
Constructors
MainViewModel
Link copied to clipboard
@Inject
Content copied to clipboard
Functions
updateSettings
Link copied to clipboard
fun updateSettings()
Content copied to clipboard
Update common for application settings
Properties
_hasNetwork
Link copied to clipboard
apiService
Link copied to clipboard
dataService
Link copied to clipboard
dataServices
Link copied to clipboard
hasNetwork
Link copied to clipboard
preferences
Link copied to clipboard