GeoWidgetLauncherViewModel

class GeoWidgetLauncherViewModel @Inject constructor(val defaultRepository: DefaultRepository, val dispatcherProvider: DispatcherProvider, val sharedPreferencesHelper: SharedPreferencesHelper, val resourceDataRulesExecutor: ResourceDataRulesExecutor, val configurationRegistry: ConfigurationRegistry, val context: Context) : ViewModel

Constructors

Link copied to clipboard
@Inject
constructor(defaultRepository: DefaultRepository, dispatcherProvider: DispatcherProvider, sharedPreferencesHelper: SharedPreferencesHelper, resourceDataRulesExecutor: ResourceDataRulesExecutor, configurationRegistry: ConfigurationRegistry, context: Context)

Properties

Functions

Link copied to clipboard
open fun addCloseable(closeable: AutoCloseable)
fun addCloseable(key: String, closeable: AutoCloseable)
Link copied to clipboard
suspend fun emitSnackBarState(snackBarMessageConfig: SnackBarMessageConfig)
Link copied to clipboard
Link copied to clipboard
fun getImageBitmap(reference: String): Bitmap?
Link copied to clipboard
Link copied to clipboard
fun launchQuestionnaire(questionnaireConfig: QuestionnaireConfig, feature: GeoJsonFeature, context: Context)
Link copied to clipboard
fun onEvent(geoWidgetEvent: GeoWidgetEvent)
Link copied to clipboard
suspend fun showNoLocationDialog(geoWidgetConfiguration: GeoWidgetConfiguration)