background - Is there a callback interface in android.view.View which indicate that the view itself turned unseen? -


view.ondetachedfromwindow means view no longer has surface drawing, view.onwindowfocuschanged means window containing view gains or loses focus.

i need callback means view turns unseen. there more 1 case of turning unseen, maybe visibility of view changed or view go background. there callback this? can give me advice?

this viewtreeobserver.ongloballayoutlistener seems looking for.

as says here:

interface definition callback invoked when global layout state or visibility of views within view tree changes.


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

Nuget pack csproj using nuspec -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -