Class WindowInsetListener
-
- All Implemented Interfaces:
public abstract class WindowInsetListenerInterface to listen to safe area changes and update customClose margins shouldComputeInsets - checks if the safeArea changes should be listened to onInsetsUpdated - fires the safeArea change event
-
-
Constructor Summary
Constructors Constructor Description WindowInsetListener()
-
Method Summary
Modifier and Type Method Description BooleanshouldComputeInsets()UnitonInsetsUpdated(Orientation orientation, WindowInsetsHandler.FinalInsets finalInsets)UnitonNewInsetsReceived(WindowInsets insets)-
-
Method Detail
-
shouldComputeInsets
Boolean shouldComputeInsets()
-
onInsetsUpdated
Unit onInsetsUpdated(Orientation orientation, WindowInsetsHandler.FinalInsets finalInsets)
-
onNewInsetsReceived
Unit onNewInsetsReceived(WindowInsets insets)
-
-
-
-