Mobile apps: How to use event with OnDestroy to avoid Invalid call of the * error?

Hi Joao/Kilian

Continue the post

I have used same code in my mobile application in OS version 11. Now I am not getting any error but the issue with me is that I need to pass few values to my parent with the help of event, now what I need to do to resolve this issue.

Please can any one help here.


Rajat Agrawal

Hi Rajat,

I have no clue what you're talking about, my last post in that topic was from a year ago. What exactly are you trying to do? You are talking about a "parent", but a Screen doesn't have a "parent", so where are you trying to send something to?


I am using web block here and need to pass value from web block to parent screen.


Rajat Agrawal

But you can't do that when the Screen is being destroyed. The OnDestroy is like "you're dead, please say your last words", you can't do all kinds of communicating.

Thank you for your reply.