ServiceList

fun ServiceList(services: List<OffloadingServiceUiState>, onClickStart: (Int) -> Unit, onClickStop: (Int) -> Unit, onClickDestroy: (Int) -> Unit)

Composable function to display a list of offloading services along with buttons to control their states.

Parameters

services

The list of OffloadingServiceUiStates to be displayed.

onClickStart

Callback to be invoked when the "Start" button is clicked.

onClickStop

Callback to be invoked when the "Stop" button is clicked.

onClickDestroy

Callback to be invoked when the "Destroy" button is clicked.