PhoneCallLogViewModel
class PhoneCallLogViewModel(val getServerConfigurationUseCase: GetServerConfigurationUseCase, val getAllPhoneCallLogEntriesUseCase: GetAllPhoneCallLogEntriesUseCase) : ViewModel
A ViewModel managing phone call log data and its presentation. It is responsible for loading and managing the phone call log entries and server configuration data, providing the necessary information for the UI to display.
Constructors
Link copied to clipboard
constructor(getServerConfigurationUseCase: GetServerConfigurationUseCase, getAllPhoneCallLogEntriesUseCase: GetAllPhoneCallLogEntriesUseCase)
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Loads the phone call log entries and tbe server configuration. After they are loaded, the PhoneCallLogViewState.Success state is emitted filled with the loaded data.
Link copied to clipboard