Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I change the icon image. #84

Open
syyam opened this issue May 22, 2021 · 0 comments
Open

How can I change the icon image. #84

syyam opened this issue May 22, 2021 · 0 comments

Comments

@syyam
Copy link

syyam commented May 22, 2021

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.

@syyam syyam closed this as completed May 25, 2021
@syyam syyam reopened this May 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant