We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df94bea commit 9853455Copy full SHA for 9853455
inputview/src/main/kotlin/com/xiaocydx/inputview/InputView.kt
@@ -243,12 +243,12 @@ class InputView @JvmOverloads constructor(
243
super.requestFitSystemWindows()
244
}
245
246
- override fun dispatchApplyWindowInsets(insets: WindowInsets?): WindowInsets {
247
- val applyInsets = super.dispatchApplyWindowInsets(insets)
+ override fun dispatchApplyWindowInsets(insets: WindowInsets): WindowInsets {
+ super.dispatchApplyWindowInsets(insets)
248
// 尝试消费PendingChange,在处理完WindowInsets后,创建、添加、移除子View
249
consumePendingChange()
250
isApplyInsetsRequested = false
251
- return applyInsets
+ return insets
252
253
254
/**
0 commit comments