https://kotlinlang.org logo
Title
u

user

07/10/2022, 1:11 PM
Material 3 NavigationBarItem how to change selected and unselected icons Can the image of a NavigationBarItem icon be changed whenever the NavigationBarItem is selected or unselected? Current result

https://i.stack.imgur.com/37vQY.png

Expected result

https://i.stack.imgur.com/m5Fow.png

sealed class BottomNavItem(var title: String, var icon: ImageVector, var screen_route: String){ object Users: BottomNavItem("Users", Icons.Filled.AccountBox,"users") object Notifications:...