[AC-6226] Usage of annotation @UiThread in android module
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Invalid |
Resolution Date | 2019-06-14T19:07:27.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Rainer Schleevoigt |
Assignee | Shak Hossain |
Created | 2019-04-26T09:13:37.000+0000 |
Updated | 2019-06-14T19:07:27.000+0000 |
Description
Commonly we use
TiMessenger
for communication between threads. Whats about this annotation. Does it works?
Not required anymore, Ti SDK 8 uses main-thread by default.
Thank you. TiMessenger is past?
Hello [~titanium@webmasterei-hamburg.de], were you able to configure annotation @UiThread in android module with SDK 8? Let us know if you need anything here. We will close it. Thanks.
[~titanium@webmasterei-hamburg.de],We haven't heard back from you since our last response. I am just following up to check the status of this case and if you need further help on it.
Thanks for reminder. As Hans sad in new SDK it is obsolete. Whats about this patter:
TiMessenger.sendBlockingMainMessage
?[~titanium@webmasterei-hamburg.de], Can you please check this [link](https://docs.appcelerator.com/module-apidoc/latest/android/org/appcelerator/kroll/common/TiMessenger.html#sendBlockingMainMessage(android.os.Message,%20java.lang.Object)) for details.
Yes I know this procedure. As Hans mentioned it is no need for new SDK because all stuff run in main thread. Is it true?
[~titanium@webmasterei-hamburg.de], Yes.True.
Good news.