SectorViewScreen
fun DataClassActivity.SectorViewScreen(sectorPageViewModel: SectorPageViewModel, zone: Zone, childrenCount: Int, maximized: MutableState<Boolean>, index: Int?, indexInterface: (index: Int) -> Unit)
Displays the contents of Sectors.
Author
Arnau Mora
Since
20220106
Parameters
sectorPageViewModel
An initialized SectorPageViewModel for doing heavy tasks and loading contents asynchronously.
zone
The Zone that contains the children to be displayed.
childrenCount
The amount of children the zone has.
maximized
Stores whether or not the image is maximized.
index
The index to currently display.
indexInterface
For updating the activity's stored index value.