gsdsdk / com.gsd.software.sdk.viewcomponents.objectspicker / DynamicListDialogViewModel
class DynamicListDialogViewModel : ViewModel
Created by Konrad Rutkowski on 16/10/2020
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 |
Name | Summary |
---|---|
error | val error: SingleLiveEvent< ResponseStatus > |
listData | val listData: LiveData< List < MappedItem >> |
onSelectionConfirmed | val onSelectionConfirmed: SingleLiveEvent< List < MappedItem >> |
Name | Summary |
---|---|
confirmSelection | fun confirmSelection(): Unit |
loadDialogData | fun loadDialogData(scope: CoroutineScope = viewModelScope): Unit |
mark | fun mark(mappedItem: MappedItem ): Unit |