on-internet
← Community

Refresh Fragment inside tabhost. OnSetUserVisibleHint is not called

Stack Overflow ·

I want to do a refresh on my fragment that is inside a tabhost when it is visible. The setup was there is a ViewPager, on page X, there's a fragment with a tabhost and 2 child fragments in it. I want to refresh do something if first child of the tabhost is visible. Please help me. setUserVisibleHint is not called on my fragment(child) but called on the fragment parent. Thanks in Advance.

Comments

Sign in or sign up to comment and upvote.

No comments yet.