AppMainViewModel
class AppMainViewModel @Inject constructor(val secureSharedPreference: SecureSharedPreference, val syncBroadcaster: SyncBroadcaster, val sharedPreferencesHelper: SharedPreferencesHelper, val configurationRegistry: ConfigurationRegistry, val registerRepository: RegisterRepository, val dispatcherProvider: DispatcherProvider, val workManager: WorkManager, val fhirCarePlanGenerator: FhirCarePlanGenerator, val fhirEngine: FhirEngine) : ViewModel
Constructors
Link copied to clipboard
@Inject
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Retrieves the last sync time from shared preferences and returns it in a formatted way. This method handles both cases:
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun updateAppDrawerUIState(isSyncUpload: Boolean? = null, currentSyncJobStatus: CurrentSyncJobStatus?, percentageProgress: Int? = null)
Link copied to clipboard