createWithMetrics

fun createWithMetrics(context: Context, metrics: WorkMetricsInfoRepository, uniqueNames: List<String> = emptyList(), bufferBytes: Int = DEFAULT_BUFFER_BYTES): WorkDebugTab

Creates a WorkDebugTab that also shows the history that work-analytics keeps.

Parameters

metrics

the app's repository.

See also

No-op build: the tab never reads metrics.