LabeledDurationStringResolver

data class LabeledDurationStringResolver(duration: Duration) : StringResolver

A StringResolver that takes a duration and resolves it to a String which is the concatenation of the number of minutes with the minute indicator.

Constructors

Link copied to clipboard
fun LabeledDurationStringResolver(duration: Duration)
Link copied to clipboard
fun LabeledDurationStringResolver(duration: Duration)

Functions

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

Resolves a String based on the given Context. The resulting value may differ per 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)