public class ViewAttachHandler
extends java.lang.Object
implements android.view.View.OnAttachStateChangeListener
| Modifier and Type | Class and Description |
|---|---|
static interface |
ViewAttachHandler.ViewAttachListener |
| Constructor and Description |
|---|
ViewAttachHandler(ViewAttachHandler.ViewAttachListener attachListener) |
| Modifier and Type | Method and Description |
|---|---|
void |
listenForAttach(android.view.View view) |
void |
onActivityStarted() |
void |
onActivityStopped() |
void |
onViewAttachedToWindow(android.view.View v) |
void |
onViewDetachedFromWindow(android.view.View v) |
void |
unregisterAttachListener(android.view.View view) |
public ViewAttachHandler(ViewAttachHandler.ViewAttachListener attachListener)
public void onViewAttachedToWindow(android.view.View v)
onViewAttachedToWindow in interface android.view.View.OnAttachStateChangeListenerpublic void onViewDetachedFromWindow(android.view.View v)
onViewDetachedFromWindow in interface android.view.View.OnAttachStateChangeListenerpublic void listenForAttach(android.view.View view)
public void unregisterAttachListener(android.view.View view)
public void onActivityStarted()
public void onActivityStopped()