tripkit-android / com.skedgo.tripkit.ui.tripresults / TripResultTransportItemViewModel

TripResultTransportItemViewModel

class TripResultTransportItemViewModel :RxViewModel

Constructors

Name Summary
<init> TripResultTransportItemViewModel()

Properties

Name Summary
checked val checked: ObservableBoolean
clicked val clicked: PublishRelay<Pair<String,Boolean>>
modeIconId val modeIconId: ObservableField<String>
modeId val modeId: ObservableField<String>

Functions

Name Summary
onItemClick fun onItemClick(view: View):Unit
setup fun setup(mode:TransportMode):Unit