Title: @UiThread isn't always on the UI thread · Issue #693 · androidannotations/androidannotations · GitHub
Open Graph Title: @UiThread isn't always on the UI thread · Issue #693 · androidannotations/androidannotations
X Title: @UiThread isn't always on the UI thread · Issue #693 · androidannotations/androidannotations
Description: If an instance of an annotated class is created on a thread other than the UI thread, the handler which gets created does not get associated with the UI thread. The generated code is: private Handler handler_ = new Handler(); This is cre...
Open Graph Description: If an instance of an annotated class is created on a thread other than the UI thread, the handler which gets created does not get associated with the UI thread. The generated code is: private Handl...
X Description: If an instance of an annotated class is created on a thread other than the UI thread, the handler which gets created does not get associated with the UI thread. The generated code is: private Handl...
Opengraph URL: https://github.com/androidannotations/androidannotations/issues/693
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"@UiThread isn't always on the UI thread","articleBody":"If an instance of an annotated class is created on a thread other than the UI thread, the handler which gets created does not get associated with the UI thread. The generated code is:\n\nprivate Handler handler_ = new Handler();\n\nThis is creating a handler which is tied to the current thread.\n\nAccording to the docs and a few StackOverflow questions, if it's created like this it'll be guaranteed to be connected to the UI thread:\n\nprivate Handler handler_ = new Handler(Looper.getMainLooper());\n","author":{"url":"https://github.com/GingerMcMurray","@type":"Person","name":"GingerMcMurray"},"datePublished":"2013-08-05T18:22:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/693/androidannotations/issues/693"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:60a573d6-4ac0-9994-737e-f0e1f1f6e09c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 96FA:51236:57DB63:793BB4:6A6180C6 |
| html-safe-nonce | 6ac4041b340b660005b7226c5cc30455062b73dbe31061b67bebfb557891f7ed |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NkZBOjUxMjM2OjU3REI2Mzo3OTNCQjQ6NkE2MTgwQzYiLCJ2aXNpdG9yX2lkIjoiNzQwNDI1MDM0NzM4MjcwNDA2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 54beff9f0f08b9495e65ef48412aa33f8a62d64fb351ccb04011408843c3f4f0 |
| hovercard-subject-tag | issue:17649636 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/androidannotations/androidannotations/693/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b1215761e3fd5b8268b03f263ab18d459250104617abc4cec6f05bafa4662cbf/androidannotations/androidannotations/issues/693 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b1215761e3fd5b8268b03f263ab18d459250104617abc4cec6f05bafa4662cbf/androidannotations/androidannotations/issues/693 |
| og:image:alt | If an instance of an annotated class is created on a thread other than the UI thread, the handler which gets created does not get associated with the UI thread. The generated code is: private Handl... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | GingerMcMurray |
| hostname | github.com |
| expected-hostname | github.com |
| None | c28c2f6607f2aacbd934868d997038895c9780d08babfe918550d73773326f4c |
| turbo-cache-control | no-preview |
| go-import | github.com/androidannotations/androidannotations git https://github.com/androidannotations/androidannotations.git |
| octolytics-dimension-user_id | 1315313 |
| octolytics-dimension-user_login | androidannotations |
| octolytics-dimension-repository_id | 3116751 |
| octolytics-dimension-repository_nwo | androidannotations/androidannotations |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3116751 |
| octolytics-dimension-repository_network_root_nwo | androidannotations/androidannotations |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cd05235d52ffb3318513d883a56c87a121015c8b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width