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


source to share





All Articles