Title: @InstanceState injects after @AfterInject methods · Issue #1703 · androidannotations/androidannotations · GitHub
Open Graph Title: @InstanceState injects after @AfterInject methods · Issue #1703 · androidannotations/androidannotations
X Title: @InstanceState injects after @AfterInject methods · Issue #1703 · androidannotations/androidannotations
Description: This example code: @InstanceState int savedField = -1; @AfterInject void afterInject() { } Can result in this generated code: private void init_(Bundle savedInstanceState) { afterInject(); restoreSavedInstanceState_(savedInstanceState); ...
Open Graph Description: This example code: @InstanceState int savedField = -1; @AfterInject void afterInject() { } Can result in this generated code: private void init_(Bundle savedInstanceState) { afterInject(); restoreS...
X Description: This example code: @InstanceState int savedField = -1; @AfterInject void afterInject() { } Can result in this generated code: private void init_(Bundle savedInstanceState) { afterInject(); restoreS...
Opengraph URL: https://github.com/androidannotations/androidannotations/issues/1703
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"@InstanceState injects after @AfterInject methods","articleBody":"This example code:\n\n``` java\n@InstanceState\nint savedField = -1;\n\n@AfterInject\nvoid afterInject() {\n\n}\n```\n\nCan result in this generated code:\n\n``` java\nprivate void init_(Bundle savedInstanceState) {\n afterInject();\n restoreSavedInstanceState_(savedInstanceState);\n}\n```\n\nNote that the `afterInject()` method is called before the instance state injection happens. The order should be the opposite, since we need the injected values in `@AfterInject` methods.\n","author":{"url":"https://github.com/WonderCsabo","@type":"Person","name":"WonderCsabo"},"datePublished":"2016-02-25T21:56:09.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1703/androidannotations/issues/1703"}
| 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:3ecc5ad6-f947-f268-c6e5-d4fa7e9675ca |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B554:2A4F9D:FB1BF1:1589173:6A61AA7C |
| html-safe-nonce | e41b6a7c26f8ba34508b6d14983dc04c5aab6ad1e6af0c246c71a355251ad4c2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTU0OjJBNEY5RDpGQjFCRjE6MTU4OTE3Mzo2QTYxQUE3QyIsInZpc2l0b3JfaWQiOiIyODIwNTk0NTE1MDA2NTY0OTg4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | dd3d7713d604a3b4061704d5c4bd17ba1eac3f9dea4715af60e3de2c1ebfede2 |
| hovercard-subject-tag | issue:136524119 |
| 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/1703/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d00854caf3991e5f603b4c1a8807279393dc199e723eb15fd29ac7e7bafe4ce7/androidannotations/androidannotations/issues/1703 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d00854caf3991e5f603b4c1a8807279393dc199e723eb15fd29ac7e7bafe4ce7/androidannotations/androidannotations/issues/1703 |
| og:image:alt | This example code: @InstanceState int savedField = -1; @AfterInject void afterInject() { } Can result in this generated code: private void init_(Bundle savedInstanceState) { afterInject(); restoreS... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | WonderCsabo |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6f4633bcf01c1ad14b73fd07dd39ac31d61f3d3c2578ee08ec1792b7b351eeb9 |
| 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 | ac296ae7f21856f1f92adbad22f870b6fbb4b907 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width