DurationStringResolver

A StableStringResolver that takes a duration and resolves that to a String representation of the duration (e.g. h:mm:ss for English) in which the hour component is only added when it is non-zero.

Constructors

Link copied to clipboard
constructor(duration: Duration)
constructor(duration: Duration)

Functions

Link copied to clipboard
open override fun get(context: Context): String

Resolves to a String based on the given context. The resulting value must be equal for a given context, but may differ given a different context. E.g. due to differing locales.

Inherited functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)