gsdsdk / com.gsd.software.sdk.viewcomponents.userpicker.dialog / ItemsDialogViewModel

ItemsDialogViewModel

class ItemsDialogViewModel : ViewModel

Created by Konrad Rutkowski on 20/07/2020.

Constructors

Name Summary
<init> ItemsDialogViewModel(initialItems:List<Token>)
Created by Konrad Rutkowski on 20/07/2020.

Properties

Name Summary
hasSelectedRecipients val hasSelectedRecipients: LiveData<Boolean>
items val items: MutableLiveData<List<Token>>
onSelectionConfirmed val onSelectionConfirmed: SingleLiveEvent<List<Token>>

Functions

Name Summary
confirmSelection fun confirmSelection():Unit
onItemClicked fun onItemClicked(token:Token):Unit