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

Java implementation #17

Closed
Benvanj opened this issue Sep 1, 2020 · 1 comment
Closed

Java implementation #17

Benvanj opened this issue Sep 1, 2020 · 1 comment
Labels
question Further information is requested

Comments

@Benvanj
Copy link

Benvanj commented Sep 1, 2020

Do you have any examples on how to implement with java?

@Droppers
Copy link
Owner

Droppers commented Oct 23, 2020

You can do somehing like this to listen for tab changes:

bottom_bar.setOnTabSelectListener(new AnimatedBottomBar.OnTabSelectListener() {
    public void onTabSelected(int lastIndex, AnimatedBottomBar.Tab lastTab, int newIndex, AnimatedBottomBar.Tab newTab) {
    }

    public void onTabReselected(int index, AnimatedBottomBar.Tab tab) {
    }
}

@Droppers Droppers added the question Further information is requested label Oct 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants