Titanium JIRA Archive
Appcelerator Community (AC)

[AC-6226] Usage of annotation @UiThread in android module

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionInvalid
Resolution Date2019-06-14T19:07:27.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterRainer Schleevoigt
AssigneeShak Hossain
Created2019-04-26T09:13:37.000+0000
Updated2019-06-14T19:07:27.000+0000

Description

Commonly we use TiMessenger for communication between threads. Whats about this annotation. Does it works?

Comments

  1. Hans Knöchel 2019-04-27

    Not required anymore, Ti SDK 8 uses main-thread by default.
  2. Rainer Schleevoigt 2019-04-27

    Thank you. TiMessenger is past?
  3. Sharif AbuDarda 2019-05-01

    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.
  4. Rakhi Mitro 2019-05-14

    [~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. 
  5. Rainer Schleevoigt 2019-05-14

    Thanks for reminder. As Hans sad in new SDK it is obsolete. Whats about this patter: TiMessenger.sendBlockingMainMessage?
  6. Rakhi Mitro 2019-05-14

    [~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.
  7. Rainer Schleevoigt 2019-05-14

    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?
  8. Rakhi Mitro 2019-05-14

    [~titanium@webmasterei-hamburg.de], Yes.True.
  9. Rainer Schleevoigt 2019-05-14

    Good news.

JSON Source