Class WindowInsetDispatcher
-
- All Implemented Interfaces:
public final class WindowInsetDispatcherThis class is responsible for dispatching the window insets to the listeners. It listens to the window insets and notifies the listeners when the insets are updated.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceWindowInsetDispatcher.DispatcherListener
-
Constructor Summary
Constructors Constructor Description WindowInsetDispatcher(View view)
-
Method Summary
Modifier and Type Method Description final UnitaddListener(WindowInsetDispatcher.DispatcherListener listener)final UnitremoveListener(WindowInsetDispatcher.DispatcherListener listener)final BooleanhasListeners()final Unitdestroy()-
-
Constructor Detail
-
WindowInsetDispatcher
WindowInsetDispatcher(View view)
-
-
Method Detail
-
addListener
final Unit addListener(WindowInsetDispatcher.DispatcherListener listener)
-
removeListener
final Unit removeListener(WindowInsetDispatcher.DispatcherListener listener)
-
hasListeners
final Boolean hasListeners()
-
-
-
-