updateCurrentIndex

abstract fun updateCurrentIndex(index: Int)

Updates the currently selected AdministrativeUnit based on the provided index. The behavior depends on the implementation, but it's typically assumed that the index corresponds to the order in which units were retrieved using methods like retrieve or retrieveByLevel.

Parameters

index

the index of the new selected unit.