Update snippet inside tabhost. OnSetUserVisibleHint is not called

I want to do an update on my fragment that is inside the tabus when it is visible. There was a ViewPager in the setup, on page X, there is a fragment with tabust and 2 child fragments in it. I want to update to do something if the first child of the tabus is visible.

Please help me.

setUserVisibleHint is not called for my fragment (child), but the parent fragment is called.

Thanks in Advance.

+3
android refresh android-tabhost android-fragments fragment


source to share


No one has answered this question yet

Check out similar questions:

2245
How do I refresh the page using jQuery?
937
findViewById in fragment
823
onActivityResult is not called on fragment
462
ViewPager and Fragments - What's the correct way to store the state of a Fragment?
five
Android update ViewPager inside fragment
0
How to change parent custom toolbar Title when updating its child fragment
0
Using fragments within a fragment
0
tab "Change TabHost Value" does not load
0
How do I update parent fragment from child fragment?
0
SetUserVisibleHint method is never called with a snippet of taboo



All Articles
Loading...
X
Show
Funny
Dev
Pics