Title: @OnResult to handle activity results · Issue #28 · androidannotations/androidannotations · GitHub
Open Graph Title: @OnResult to handle activity results · Issue #28 · androidannotations/androidannotations
X Title: @OnResult to handle activity results · Issue #28 · androidannotations/androidannotations
Description: Idea from @matboniface: Instead of having to implement this : protected void onActivityResult(int requestCode, int resultCode, Intent data) { // Switch based on request code here } We could have an @OnResult(REQUEST_CODE) annotation, and...
Open Graph Description: Idea from @matboniface: Instead of having to implement this : protected void onActivityResult(int requestCode, int resultCode, Intent data) { // Switch based on request code here } We could have an...
X Description: Idea from @matboniface: Instead of having to implement this : protected void onActivityResult(int requestCode, int resultCode, Intent data) { // Switch based on request code here } We could have an...
Opengraph URL: https://github.com/androidannotations/androidannotations/issues/28
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"@OnResult to handle activity results","articleBody":"Idea from @matboniface:\n\nInstead of having to implement this :\n\n```\nprotected void onActivityResult(int requestCode, int resultCode, Intent data) {\n // Switch based on request code here\n}\n```\n\nWe could have an @OnResult(REQUEST_CODE) annotation, and the switch would be done by AndroidAnnotations\n\n```\n@OnResult(FOO_REQUEST_CODE)\nvoid myFooResult(int resultCode, Intent data) {\n\n}\n\n@OnResult(BAR_REQUEST_CODE)\nvoid myBarResult(int resultCode, Intent data) {\n\n}\n```\n","author":{"url":"https://github.com/pyricau","@type":"Person","name":"pyricau"},"datePublished":"2012-01-06T16:08:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":15},"url":"https://github.com/28/androidannotations/issues/28"}
| 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:f5431cc2-8ec1-25a1-d156-ee1fa02875cf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CFA2:3609E5:1FF6B30:2DF9A5D:6A60AD48 |
| html-safe-nonce | d97ede90b065d75c4bb8abd6b90cef577d83486487b6b97786b175909be3e512 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRkEyOjM2MDlFNToxRkY2QjMwOjJERjlBNUQ6NkE2MEFENDgiLCJ2aXNpdG9yX2lkIjoiNTk3OTMxMjQ5NzU2NDM2NDEwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8e89740063c2adb12426aa38283b543f41539a16f0c61eeae9d47a1c2af9a8c8 |
| hovercard-subject-tag | issue:2748562 |
| 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/28/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c9e366461e04787a761832d0f83a50778742edb5822435e7242c53f7a498ff96/androidannotations/androidannotations/issues/28 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c9e366461e04787a761832d0f83a50778742edb5822435e7242c53f7a498ff96/androidannotations/androidannotations/issues/28 |
| og:image:alt | Idea from @matboniface: Instead of having to implement this : protected void onActivityResult(int requestCode, int resultCode, Intent data) { // Switch based on request code here } We could have an... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pyricau |
| hostname | github.com |
| expected-hostname | github.com |
| None | 66af895cfa11168648b21cb54f2bdc3b0587503cc95c3040344b93f2cd4f9e08 |
| 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 | b2efb079bef4751afb19e51eb8a7bfb7a46dd1a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width