B4X FEED Protect Sender from Sleep-walking killer

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: Protect Sender from Sleep-walking killer است. این موضوع تا کنون 34 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع Protect Sender from Sleep-walking killer
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
34
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
In events we have Sender to inform us of the origin of the event. A magical companion that never is present in sub signatures, but always available once you learn about its mysterious ways. Or so I thought at least. Seems Sleep can kill it. (I haven't verified this, but it seems likely to also be vulnerable to the violent ways of Wait For.)

This wish originates from this thread
[H3] [/H3]
I have a layout with several WebViews, each containing html with a link. Clicking a link triggers the LocationChanged event just fine. However, I can't figure out how to get which WebView the click happened in, as Sender is Null. Is this expected behaviour on B4J or have I misunderstood...
برای دیدن تصاویر باید ثبت نام کنید


My wish is something like this...

1. Make Sender available even after Sleep (and Wait For etc)

or

2. Make the IDE linter detect usage of Sender after Sleep and say something like "Warning: Sender is Null after Sleep and Wait For"

or

3. At the very least put the information in the hover-documentation for Sender and also in the forum when one searches for Sender:

برای دیدن تصاویر باید ثبت نام کنید


 

عقب
بالا