Bottom Nav Item
class BottomNavItem(var id: String? = null, var name: String? = null, var key: String? = null, var iconUrl: String? = null, var action: String? = null)
BottomNavItem — represents an item in the bottom navigation bar.
Retrieved via com.advantahealth.api.ui.UserInterface.getBottomNavigationItems. Defines label, key, icon, and action for each navigation destination.
Properties
id Unique identifier.
name Display name (label).
key Unique key used for routing/analytics.
iconUrl URL for the icon (nullable).
action Action string, e.g., a deep link or internal app route.
Android (Kotlin) — building bottom nav
val items = AFCore.userInterface().getBottomNavigationItems()
bottomNav.setup(items)Content copied to clipboard
iOS (Swift) — setting up bottom nav
let items = try await AFCore.shared.userInterface().getBottomNavigationItems()
self.bottomNav.render(items)Content copied to clipboard