I want to change the icon images upon clicking on the tabs dynamically without having to create new instances of MeowBottomNavigation. Right now, let's say I have 3 buttons and I want two replace the icon of the first tab with another icon I am doing this
bottom_nav.add(new MeowBottomNavigation.Model(1, R.drawable.ic_home))
but the bottom nav bar just adds 4th button with the new icon. There has to be a replace() function.
I want to change the icon images upon clicking on the tabs dynamically without having to create new instances of MeowBottomNavigation. Right now, let's say I have 3 buttons and I want two replace the icon of the first tab with another icon I am doing this
bottom_nav.add(new MeowBottomNavigation.Model(1, R.drawable.ic_home))
but the bottom nav bar just adds 4th button with the new icon. There has to be a replace() function.