CategoryDetailScreen

fun CategoryDetailScreen(category: SignalCategory, loadState: LoadState, signals: List<FingerprintSignal>, permissions: Array<String>, onPermissionsResult: (Boolean) -> Unit, isLive: Boolean = false, errorDetail: String? = null, onRetry: () -> Unit = {}, onBack: () -> Unit = {})

Detail screen for a single SignalCategory, rendering its signals or an appropriate state.

Shows a permission gate (LoadState.Denied), loading, error, empty or a scrollable list of SignalRows with a count summary. Launches the runtime permission request when the gate's grant button is tapped and forwards the outcome via onPermissionsResult.

Parameters

category

Category being displayed.

loadState

Current load state selecting which content to render.

signals

Collected signals for the category.

permissions

Runtime permissions to request for this category (may be empty).

onPermissionsResult

Callback with true if all requested permissions were granted.

isLive

Whether the category is streaming live (shows a live badge).

errorDetail

Optional error detail shown in the error state.

onRetry

Retry/refresh callback for error/empty states.

onBack

Back-navigation callback.