Administrative Level Dropdown
fun AdministrativeLevelDropdown(administrativeLevels: List<AdministrativeLevelViewData>, currentAdministrativeLevel: AdministrativeLevelViewData, onDropdown: (index: Int) -> Unit)
The administrative levels dropdown used in the toolbar on Administrative Unit Screen.
Parameters
administrative Levels
the List of administrative levels used in the dropdown.
current Administrative Level
the current administrative level displayed.
on Dropdown
the event fired when another option is selected in the dropdown. The index of the selected option is sent via parameter.