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

TripSegmentViewModel

class TripSegmentViewModel :RxViewModel

Constructors

Name Summary
<init> TripSegmentViewModel(context: Context, printTime:PrintTime)

Properties

Name Summary
getTransportIconTintStrategy lateinit var getTransportIconTintStrategy:GetTransportIconTintStrategy
icon val icon: ObservableField<Drawable>
primaryText val primaryText: ObservableField<String>
secondaryText val secondaryText: ObservableField<String>
showPrimary val showPrimary: ObservableBoolean
showSecondary val showSecondary: ObservableBoolean

Functions

Name Summary
setSegment fun setSegment(trip:Trip, segment:TripSegment):Unit