Skip to content

Commit 88ad7c6

Browse files
committed
Moved LinearLayout overridable func to main body
1 parent 409b551 commit 88ad7c6

File tree

1 file changed

+19
-21
lines changed

1 file changed

+19
-21
lines changed

Sources/ViewGroup.swift

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,25 @@ open class AndroidViewGroup: AndroidView {
591591
args: &__args,
592592
locals: &__locals )
593593
}
594+
595+
open func shouldDelayChildPressedState() -> Bool {
596+
597+
var __locals = [jobject]()
598+
599+
var __args = [jvalue]( repeating: jvalue(), count: 1 )
600+
601+
let __return = JNIMethod.CallBooleanMethod(
602+
object: javaObject,
603+
methodName: "shouldDelayChildPressedState",
604+
methodSig: "()Z",
605+
methodCache: &ViewGroupJNICache.MethodID.shouldDelayChildPressedState,
606+
args: &__args,
607+
locals: &__locals )
608+
609+
610+
611+
return __return != jboolean(JNI_FALSE)
612+
}
594613
}
595614

596615
public extension Android.View.ViewGroup {
@@ -2069,27 +2088,6 @@ public extension Android.View.ViewGroup {
20692088

20702089
}
20712090

2072-
2073-
public func shouldDelayChildPressedState() -> Bool {
2074-
2075-
var __locals = [jobject]()
2076-
2077-
var __args = [jvalue]( repeating: jvalue(), count: 1 )
2078-
2079-
let __return = JNIMethod.CallBooleanMethod(
2080-
object: javaObject,
2081-
methodName: "shouldDelayChildPressedState",
2082-
methodSig: "()Z",
2083-
methodCache: &ViewGroupJNICache.MethodID.shouldDelayChildPressedState,
2084-
args: &__args,
2085-
locals: &__locals )
2086-
2087-
2088-
2089-
return __return != jboolean(JNI_FALSE)
2090-
}
2091-
2092-
20932091
public func showContextMenuForChild(originalView: Android.View.View, x: Float, y: Float) -> Bool {
20942092

20952093
var __locals = [jobject]()

0 commit comments

Comments
 (0)