Last active
July 1, 2025 16:39
-
-
Save jollygreenegiant/e8a58a5d0feb2341067d71ab776cfde1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| interface InsetsHandler { | |
| fun handleInsets( | |
| view: View?, | |
| insetDirection: InsetDirection = InsetDirection.EXCLUDE_TOP, | |
| consumeInsets: Boolean = true, | |
| useMargin: Boolean = false, | |
| ) | |
| fun handleInsetsWithPinnedButton( | |
| mainContent: View?, | |
| bottomPinnedContent: View?, | |
| screenHasToolbar: Boolean = true, | |
| ) | |
| fun handleInsets( | |
| view: View?, | |
| consumeInsets: Boolean = true, | |
| handleInsets: (View, Insets) -> Unit, | |
| ) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment