/tripkit/TripKitAndroidUI/com.skedgo.tripkit.ui.trippreview.segment/TripSegmentSummary
TripSegmentSummary
\ data class TripSegmentSummary(val title: String? = null, val subTitle: String? = null, var icon: Drawable? = null, var pages: List<Int>? = null, val id: Long? = null, val description: String? = null, val modeId: String? = null, val isHideExactTimes: Boolean = false)
Renamed from TripPreviewHeader to TripSegmentSummary since it'll be generic and will not only be used on the preview header feature
Constructors
| TripSegmentSummary | constructor(title: String? = null, subTitle: String? = null, icon: Drawable? = null, pages: List<Int>? = null, id: Long? = null, description: String? = null, modeId: String? = null, isHideExactTimes: Boolean = false) |
Properties
| Name | Summary |
|---|---|
| description | val description: String? = null |
| icon | var icon: Drawable? |
| id | val id: Long? = null |
| isHideExactTimes | val isHideExactTimes: Boolean = false |
| modeId | val modeId: String? = null |
| pages | var pages: List<Int>? |
| subTitle | val subTitle: String? = null |
| title | val title: String? = null |
Functions
| Name | Summary |
|---|---|
| getSummaryItem | fun getSummaryItem(): TripSegmentSummaryItemViewModel |