You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am writing a class in JAVA to port a library from Android to Harmony OS. In the Android code given below, getParent() returns a ViewParent interface of the corresponding view
Now, the alternative of ViewParent in Harmony OS is ComponentParent, but it doesn't have a similar matching method requestDisallowInterceptTouchEvent().
What is the alternative implementation of requestDisallowInterceptTouchEvent() in Harmony OS?
Create the query with harmonyos tag in stackoverflow and share the link here:
Developer Platform: Windows
DevEco Studio version: 2.1.0.303
SDK API version: 5
SDK version: 2.1.1.21
Device: Not required
Device OS version: Not required
Regards,
Subham
The text was updated successfully, but these errors were encountered:
Describe the query
I am writing a class in JAVA to port a library from Android to Harmony OS. In the Android code given below,
getParent()
returns aViewParent
interface of the corresponding viewview.getParent().requestDisallowInterceptTouchEvent(true);
Now, the alternative of
ViewParent
in Harmony OS isComponentParent
, but it doesn't have a similar matching methodrequestDisallowInterceptTouchEvent()
.What is the alternative implementation of
requestDisallowInterceptTouchEvent()
in Harmony OS?Create the query with harmonyos tag in stackoverflow and share the link here:
https://stackoverflow.com/questions/69256876/what-is-the-alternative-method-in-harmony-os-for-viewparent-requestdisallowinter
Additional information
Developer Platform: Windows
DevEco Studio version: 2.1.0.303
SDK API version: 5
SDK version: 2.1.1.21
Device: Not required
Device OS version: Not required
Regards,
Subham
The text was updated successfully, but these errors were encountered: