Title: [edited] @Extra fields should be updated when setIntent() is called · Issue #166 · androidannotations/androidannotations · GitHub
Open Graph Title: [edited] @Extra fields should be updated when setIntent() is called · Issue #166 · androidannotations/androidannotations
X Title: [edited] @Extra fields should be updated when setIntent() is called · Issue #166 · androidannotations/androidannotations
Description: Hello Im using notifications to launch an activity and in this activity I have used the @extra annotation to inject my extras. Example: @ViewById(R.id.server) TextView serverView; @Extra(SERVER) String server; @AfterViews protected void ...
Open Graph Description: Hello Im using notifications to launch an activity and in this activity I have used the @extra annotation to inject my extras. Example: @ViewById(R.id.server) TextView serverView; @Extra(SERVER) St...
X Description: Hello Im using notifications to launch an activity and in this activity I have used the @extra annotation to inject my extras. Example: @ViewById(R.id.server) TextView serverView; @Extra(SERVER) St...
Opengraph URL: https://github.com/androidannotations/androidannotations/issues/166
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[edited] @Extra fields should be updated when setIntent() is called","articleBody":"Hello\n\nIm using notifications to launch an activity and in this activity I have used the @Extra annotation to inject my extras.\n\nExample:\n\n```\n@ViewById(R.id.server)\nTextView serverView;\n\n@Extra(SERVER)\nString server;\n\n@AfterViews\nprotected void afterViews()\n{\n serverView.setText(server);\n}\n\n@Override\nprotected void onPostResume()\n{\n super.onPostResume();\n serverView.setText(server);\n}\n```\n\nHowever, my serverView is never updated with new text during the PostResume, unless I also add:\n\n```\n@Override\nprotected void onNewIntent(Intent intent)\n{\n super.onNewIntent(intent);\n server = intent.getStringExtra(TITLE);\n}\n```\n\nShouldnt this updating be done automatically be androidannotation?\n\nbr\n","author":{"url":"https://github.com/Brimstedt","@type":"Person","name":"Brimstedt"},"datePublished":"2012-04-13T05:07:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":14},"url":"https://github.com/166/androidannotations/issues/166"}
| 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:61c811f2-aaf4-1cbf-d166-fa2ac093b83d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 95D2:3503DA:1F2769F:2D12723:6A60ACB9 |
| html-safe-nonce | d91d690ac9fb2254bc006621ad50cc19aa3fe2425e850c0502cb6878ece06310 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NUQyOjM1MDNEQToxRjI3NjlGOjJEMTI3MjM6NkE2MEFDQjkiLCJ2aXNpdG9yX2lkIjoiNTY0MzEwODM3NjA5ODQxNzg0OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | dba2384c43c22ed91d1e2a161ee590db3e731ab2cc767d986436cc7a87ec5842 |
| hovercard-subject-tag | issue:4097882 |
| 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/166/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5df4fe7caff81aaff499a86731ad72234f5d9a1f5776496dc95f2ec620c68329/androidannotations/androidannotations/issues/166 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5df4fe7caff81aaff499a86731ad72234f5d9a1f5776496dc95f2ec620c68329/androidannotations/androidannotations/issues/166 |
| og:image:alt | Hello Im using notifications to launch an activity and in this activity I have used the @extra annotation to inject my extras. Example: @ViewById(R.id.server) TextView serverView; @Extra(SERVER) St... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Brimstedt |
| 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