Title: Override @OptionsMenu declared from super classes. · Issue #1156 · androidannotations/androidannotations · GitHub
Open Graph Title: Override @OptionsMenu declared from super classes. · Issue #1156 · androidannotations/androidannotations
X Title: Override @OptionsMenu declared from super classes. · Issue #1156 · androidannotations/androidannotations
Description: Hi there, It would be cool to be able to override OptionsMenu declared from super classes. It would be really appreciated especially for stacked fragments. @EActivity @OptionsMenu(value=R.menu.my_menu, override=true) public class MyFragm...
Open Graph Description: Hi there, It would be cool to be able to override OptionsMenu declared from super classes. It would be really appreciated especially for stacked fragments. @EActivity @OptionsMenu(value=R.menu.my_m...
X Description: Hi there, It would be cool to be able to override OptionsMenu declared from super classes. It would be really appreciated especially for stacked fragments. @EActivity @OptionsMenu(value=R.menu.my_m...
Opengraph URL: https://github.com/androidannotations/androidannotations/issues/1156
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Override @OptionsMenu declared from super classes.","articleBody":"Hi there, It would be cool to be able to override OptionsMenu declared from super classes.\nIt would be really appreciated especially for stacked fragments.\n\n``` java\n@EActivity\n@OptionsMenu(value=R.menu.my_menu, override=true)\npublic class MyFragment extends Fragment {\n // ...\n}\n```\n\nShould produce : \n\n``` java\n@Override\npublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n menu.clear();\n inflater.inflate(my.package.R.menu.rides_menu, menu);\n super.onCreateOptionsMenu(menu, inflater);\n}\n```\n\nBest \n","author":{"url":"https://github.com/mathieudebrito","@type":"Person","name":"mathieudebrito"},"datePublished":"2014-09-22T13:48:43.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":38},"url":"https://github.com/1156/androidannotations/issues/1156"}
| 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:fb8945b6-d8f0-e535-611e-8b53f17222ab |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A024:ED766:A5D00D:E31D22:6A619A0B |
| html-safe-nonce | 98641c511c79ec2a3e1fba0a4ce0fcfc784a9e7830dd9aeb8dbf17339d75d406 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDI0OkVENzY2OkE1RDAwRDpFMzFEMjI6NkE2MTlBMEIiLCJ2aXNpdG9yX2lkIjoiMjI3ODYxMzg0MTc1OTgwMzkxNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 72181eb473a8df4ed7d13f591ab122544f78574addf00bcdc07311ec8149c3df |
| hovercard-subject-tag | issue:43485895 |
| 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/1156/issue_layout |
| twitter:image | https://opengraph.githubassets.com/42ebe3896d50f39ca9d17af682eec61d9f55d76ce6ba72885b83ab01fb38ce01/androidannotations/androidannotations/issues/1156 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/42ebe3896d50f39ca9d17af682eec61d9f55d76ce6ba72885b83ab01fb38ce01/androidannotations/androidannotations/issues/1156 |
| og:image:alt | Hi there, It would be cool to be able to override OptionsMenu declared from super classes. It would be really appreciated especially for stacked fragments. @EActivity @OptionsMenu(value=R.menu.my_m... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mathieudebrito |
| 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