PagerArea

@Composable
fun PagerArea(pagerState: PagerState, partitionedApplications: MutableState<Pair<List<Application>, List<Application>>>, selectedDevice: Device, socket: Socket, selectedApp: Application, onAppSelected: (Application) -> Unit = {})

This function displays a pager area for the application.

Parameters

pagerState

The pager state to be used.

partitionedApplications

The partitioned applications to be displayed.

selectedDevice

The selected device.

socket

The socket to be used.

selectedApp

The selected application.

onAppSelected

The action to be performed when an application is selected.

Example usage:

PagerArea(
pagerState = PagerState(),
partitionedApplications = mutableStateOf(Pair(listOf(), listOf())),
selectedDevice = Device(DeviceDetails(name = emptyString)),
socket = Socket(),
selectedApp = Application()
)