Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the alternative method in Harmony OS for ViewParent.requestDisallowInterceptTouchEvent() in Android OS? #80

Open
SubhamKarmakar24 opened this issue Sep 20, 2021 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation Query HarmonyOS API/Functionality Query

Comments

@SubhamKarmakar24
Copy link

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 a ViewParent interface of the corresponding view

view.getParent().requestDisallowInterceptTouchEvent(true);

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:

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

@SubhamKarmakar24 SubhamKarmakar24 added documentation Improvements or additions to documentation Query HarmonyOS API/Functionality Query labels Sep 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation Query HarmonyOS API/Functionality Query
Projects
None yet
Development

No branches or pull requests

2 participants