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 to check if tab is visible #26

Open
bryan-ibrahim opened this issue Dec 11, 2017 · 2 comments
Open

How to check if tab is visible #26

bryan-ibrahim opened this issue Dec 11, 2017 · 2 comments

Comments

@bryan-ibrahim
Copy link

I have animation in all the 3 tabs, but it only animates in the first tab.
Is there a way I can know which tab the user is currently viewing, and begin the animation when they swipe to it?

@long1eu
Copy link
Owner

long1eu commented Dec 11, 2017

Hi!
I'm not curently active on this. But you can create a pull request if you want.

@ModirGithub
Copy link

ModirGithub commented Jul 3, 2018

   @Override
    public void setUserVisibleHint(boolean isVisibleToUser) {
        super.setUserVisibleHint(isVisibleToUser);

        //When fragment is show to user
 
    }

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

3 participants