update bottomsheet
This commit is contained in:
@@ -317,6 +317,9 @@ class BottomSheetView(
|
|||||||
// View overrides to pass to DialogRootViewGroup instead
|
// View overrides to pass to DialogRootViewGroup instead
|
||||||
|
|
||||||
override fun dispatchProvideStructure(structure: ViewStructure?) {
|
override fun dispatchProvideStructure(structure: ViewStructure?) {
|
||||||
|
if (structure == null) {
|
||||||
|
return
|
||||||
|
}
|
||||||
dialogRootViewGroup.dispatchProvideStructure(structure)
|
dialogRootViewGroup.dispatchProvideStructure(structure)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-13
@@ -139,19 +139,7 @@ class DialogRootViewGroup(
|
|||||||
return super.onHoverEvent(event)
|
return super.onHoverEvent(event)
|
||||||
}
|
}
|
||||||
|
|
||||||
@Deprecated("Deprecated in Java")
|
override fun onChildStartedNativeGesture(childView: View?, ev: MotionEvent) {
|
||||||
override fun onChildStartedNativeGesture(ev: MotionEvent?) {
|
|
||||||
eventDispatcher?.let {
|
|
||||||
if (ev != null) {
|
|
||||||
jSTouchDispatcher.onChildStartedNativeGesture(ev, it)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
override fun onChildStartedNativeGesture(
|
|
||||||
childView: View,
|
|
||||||
ev: MotionEvent,
|
|
||||||
) {
|
|
||||||
eventDispatcher?.let { jSTouchDispatcher.onChildStartedNativeGesture(ev, it) }
|
eventDispatcher?.let { jSTouchDispatcher.onChildStartedNativeGesture(ev, it) }
|
||||||
jSPointerDispatcher?.onChildStartedNativeGesture(childView, ev, eventDispatcher)
|
jSPointerDispatcher?.onChildStartedNativeGesture(childView, ev, eventDispatcher)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user