Commit 0ddfb98
committed
Refactor: Move ISafeAreaIgnoredContainer check to FindListenerForView
Move the ISafeAreaIgnoredContainer logic from SafeAreaExtensions to
MauiWindowInsetListener.FindListenerForView(). This prevents inset listeners
from being added to ListView/TableView children in the first place, rather
than applying listeners and then zeroing out safe area.
Benefits:
- Cleaner architecture: listeners aren't added where they shouldn't be
- More efficient: no unnecessary listener attachment or calculations
- Clearer intent: early rejection at listener discovery phase1 parent 3a0ac63 commit 0ddfb98
1 file changed
+39
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
123 | 130 | | |
124 | 131 | | |
125 | 132 | | |
| |||
132 | 139 | | |
133 | 140 | | |
134 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
135 | 174 | | |
136 | 175 | | |
137 | 176 | | |
| |||
0 commit comments