gsdsdk / com.gsd.software.sdk.viewparser.dynamicview.layoutdsl.singleobjectrequestpicker.viewmodel / SingleObjectRequestPickerViewModel
class SingleObjectRequestPickerViewModel : ViewModel
Created by Michal Zuchowski on 13/08/2021
Name | Summary |
---|---|
<init> | SingleObjectRequestPickerViewModel(listItem: ListItem , dataSource: ViewDataSource ?, dynamicRequestRepository: DynamicRequestSource , objectPropertiesParser: ObjectPropertiesParser ) Created by Michal Zuchowski on 13/08/2021 |
Name | Summary |
---|---|
error | val error: SingleLiveEvent< ResponseStatus > |
isInitialItemLoaded | val isInitialItemLoaded: SingleLiveEvent< Boolean > |
item | val item: MutableLiveData< MappedItem ?> |
loadingIndicator | val loadingIndicator: MutableLiveData< Boolean > |
Name | Summary |
---|---|
loadInitialItem | fun loadInitialItem(objectId: String , scope: CoroutineScope = viewModelScope): Unit |
updateItemValue | fun updateItemValue(mappedItem: MappedItem ?): Unit |