Service List
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.
on Click Start
Callback to be invoked when the "Start" button is clicked.
on Click Stop
Callback to be invoked when the "Stop" button is clicked.
on Click Destroy
Callback to be invoked when the "Destroy" button is clicked.