Builder

class Builder(context: Context)

Builds an instance of TripProgressUpdateFormatter

Parameters

context

a instance of a []Context]

Constructors

Link copied to clipboard
fun Builder(context: Context)

Functions

Link copied to clipboard
fun build(): TripProgressUpdateFormatter

Applies the supplied parameters and instantiates a TripProgressUpdateFormatter

Link copied to clipboard

A class that formats a TripProgressUpdateValue to a SpannableString representing the distance remaining of a route.

Link copied to clipboard

A class that formats a TripProgressUpdateValue to a SpannableString representing the estimated time to arrival.

Link copied to clipboard

A class that formats a TripProgressUpdateValue to a SpannableString representing the percentage of the route distance traveled.

Link copied to clipboard

A class that formats a TripProgressUpdateValue to a SpannableString representing the time remaining.