gsdsdk / com.gsd.software.sdk.viewcomponents.objectspicker / DynamicListDialogViewModel

DynamicListDialogViewModel

class DynamicListDialogViewModel : ViewModel

Created by Konrad Rutkowski on 16/10/2020

Constructors

Name Summary
<init> DynamicListDialogViewModel(initialItems:List<MappedItem>, listItem:ListItem, dataSource:ViewDataSource, dynamicRequestRepository:DynamicRequestSource, objectPropertiesParser:ObjectPropertiesParser, dynamicListDialogBehavior:DynamicListDialogBehavior)
Created by Konrad Rutkowski on 16/10/2020

Properties

Name Summary
error val error: SingleLiveEvent<ResponseStatus>
listData val listData: LiveData<List<MappedItem>>
onSelectionConfirmed val onSelectionConfirmed: SingleLiveEvent<List<MappedItem>>

Functions

Name Summary
confirmSelection fun confirmSelection():Unit
loadDialogData fun loadDialogData(scope: CoroutineScope = viewModelScope):Unit
mark fun mark(mappedItem:MappedItem):Unit