AdministrativeLevelDropdown

fun AdministrativeLevelDropdown(administrativeLevels: List<AdministrativeLevelViewData>, currentAdministrativeLevel: AdministrativeLevelViewData, onDropdown: (index: Int) -> Unit)

The administrative levels dropdown used in the toolbar on Administrative Unit Screen.

Parameters

administrativeLevels

the List of administrative levels used in the dropdown.

currentAdministrativeLevel

the current administrative level displayed.

onDropdown

the event fired when another option is selected in the dropdown. The index of the selected option is sent via parameter.