TimerLiveData

constructor(delayMs: Long, computeValue: () -> T)

Parameters

T

The type of the LiveData values.

delayMs

The delay between each update of the value.

computeValue

The periodically called function to compute the new value.