-
Notifications
You must be signed in to change notification settings - Fork 53
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
Question: Is there a way to retrieve corresponding widget for callback methods? #48
Comments
Yes, the click method should be collected as callback method for getCallbackMethods. |
Yes but can I also find out which widget is linked to that method? |
I see. You cannot currently do that. But you can achieve that by modifying this file: https://github.com/arguslab/Argus-SAF/blob/68f87fd596a06f5a6b2f6a4303bbc709005df3cd/org.argus.amandroid/src/main/scala/org/argus/amandroid/core/parser/LayoutFileParser.scala |
For this ->
I got it working. However I can't find out how to find the buttonview (button2) for these kinds of methods ->
How would I go about doing this? Is there a way to see what view is passed on to the onClick method? |
Anyone? |
This onClick method will be automatically collected as a callback method for this component. |
Thx I will give it a try: |
You may use something like ExplicitValueFinder |
So I got it working for most of the callbackmethods. However, I am missing some information. Specifically for menu items and support views. Is there a reason that Menus and support views are not part of the layoutcontrol or is it a missing feature? |
For the callbacks
apk.model.getCallbackMethods
is there a way to find the layout widget that calls that method? If there is one ofcourse.or for:
The text was updated successfully, but these errors were encountered: