Title: Support for annotations to check the current thread (or task's serial) by Artyomcool · Pull Request #780 · androidannotations/androidannotations · GitHub
Open Graph Title: Support for annotations to check the current thread (or task's serial) by Artyomcool · Pull Request #780 · androidannotations/androidannotations
X Title: Support for annotations to check the current thread (or task's serial) by Artyomcool · Pull Request #780 · androidannotations/androidannotations
Description: Hi, Lets assume we have a long-term methods that provide result by simply returning that. This allows to make robust and reusable components and easily compose another methods from them. In some cases it is much easier to control data consistence by restricting threads that allowed to invoke some of them. I've implemented two annotations: @SupposeUiThread @SupposeBackground It will generate neccessary checks and you can control what happens if expectation fails by BackgroundExecutor.setWrongThreadListener(...)
Open Graph Description: Hi, Lets assume we have a long-term methods that provide result by simply returning that. This allows to make robust and reusable components and easily compose another methods from them. In some ca...
X Description: Hi, Lets assume we have a long-term methods that provide result by simply returning that. This allows to make robust and reusable components and easily compose another methods from them. In some ca...
Opengraph URL: https://github.com/androidannotations/androidannotations/pull/780
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:91af4ba9-0bb0-1565-511b-f3372f0ebe74 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B280:32025:16CBF80:2026A9D:6A61CDE7 |
| html-safe-nonce | d222ab1ac01a68fafd2b1bfadb8ef1776aa9f1db73fd77fa156f3901b12528b6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjgwOjMyMDI1OjE2Q0JGODA6MjAyNkE5RDo2QTYxQ0RFNyIsInZpc2l0b3JfaWQiOiI0MzM1NTAwMzczMDM1OTYxODMxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 58bb58e0bfcc627865e4ed4fbbcfadbea09490c4f9b8ef2dcbe03c5e11850ead |
| hovercard-subject-tag | pull_request:9627583 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/androidannotations/androidannotations/pull/780/files |
| twitter:image | https://avatars.githubusercontent.com/u/2193076?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/2193076?s=400&v=4 |
| og:image:alt | Hi, Lets assume we have a long-term methods that provide result by simply returning that. This allows to make robust and reusable components and easily compose another methods from them. In some ca... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b2de8c74e5e61e893155ba46ee41bc66170c1644cb795adefa8386d490f7781c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d1866027ded575df8a15c731dd8b9986c9483ceb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width