DistanceRemainingFormatter

class DistanceRemainingFormatter(distanceFormatterOptions: DistanceFormatterOptions) : ValueFormatter<Double, SpannableString>

Formats trip related data for displaying in the UI

Parameters

distanceFormatterOptions

Constructors

DistanceRemainingFormatter
Link copied to clipboard
fun DistanceRemainingFormatter(distanceFormatterOptions: DistanceFormatterOptions)

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
format
Link copied to clipboard
open override fun format(update: Double): SpannableString
Formats the data in the TripProgressUpdateValue for displaying the route distance remaining in the UI
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String