public static class AbstractTabSwitcherLayout.LayoutListenerWrapper
extends java.lang.Object
implements android.view.ViewTreeObserver.OnGlobalLayoutListener
Constructor and Description |
---|
LayoutListenerWrapper(android.view.View view,
android.view.ViewTreeObserver.OnGlobalLayoutListener listener)
Creates a new layout listener, which unregisters itself from the observed view, when
invoked.
|
Modifier and Type | Method and Description |
---|---|
void |
onGlobalLayout() |
public LayoutListenerWrapper(@NonNull android.view.View view, @Nullable android.view.ViewTreeObserver.OnGlobalLayoutListener listener)
view
- The observed view as an instance of the class View
. The view may not be
nulllistener
- The listener, which should be encapsulated, as an instance of the type ViewTreeObserver.OnGlobalLayoutListener
or null, if no listener should be encapsulated