Title: ServiceAction uses the same extra key when putting and getting action parameters · Issue #1268 · androidannotations/androidannotations · GitHub
Open Graph Title: ServiceAction uses the same extra key when putting and getting action parameters · Issue #1268 · androidannotations/androidannotations
X Title: ServiceAction uses the same extra key when putting and getting action parameters · Issue #1268 · androidannotations/androidannotations
Description: There is a service that implements an action with multiple parameters: @ServiceAction void mySimpleAction(String param1, int param2, String param3) { Log.i("MyService", "mySimpleAction " + param1 + " " + param2 + " " + param3); } Run thi...
Open Graph Description: There is a service that implements an action with multiple parameters: @ServiceAction void mySimpleAction(String param1, int param2, String param3) { Log.i("MyService", "mySimpleAction " + param1 +...
X Description: There is a service that implements an action with multiple parameters: @ServiceAction void mySimpleAction(String param1, int param2, String param3) { Log.i("MyService", "mySimpleActi...
Opengraph URL: https://github.com/androidannotations/androidannotations/issues/1268
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ServiceAction uses the same extra key when putting and getting action parameters","articleBody":"There is a service that implements an action with multiple parameters:\n\n``` java\n@ServiceAction\nvoid mySimpleAction(String param1, int param2, String param3) {\n Log.i(\"MyService\", \"mySimpleAction \" + param1 + \" \" + param2 + \" \" + param3);\n}\n```\n\nRun this action with some parameters\n\n``` java\nMyService_.intent(context).mySimpleAction(\"1\", 2, \"3\").start();\n```\n\nthe output will be \"mySimpleAction 3 0 3\".\nGenerated code:\n\n``` java\nif (ACTION_MY_SIMPLE_ACTION.equals(action)) {\n Bundle extras = intent.getExtras();\n if (extras!= null) {\n String param1Extra = extras.getString(PARAM_EXTRA); // PARAM1_EXTRA?\n int param2Extra = extras.getInt(PARAM_EXTRA); // PARAM2_EXTRA?\n String param3Extra = extras.getString(PARAM_EXTRA); // PARAM3_EXTRA?\n super.mySimpleAction(param1Extra, param2Extra, param3Extra);\n return ;\n }\n}\n...\npublic MyService_.IntentBuilder_ mySimpleAction(String param1, int param2, String param3) {\n action(ACTION_MY_SIMPLE_ACTION);\n super.extra(PARAM_EXTRA, param1); // PARAM1_EXTRA?\n super.extra(PARAM_EXTRA, param2); // PARAM2_EXTRA?\n super.extra(PARAM_EXTRA, param3); // PARAM3_EXTRA?\n return this;\n}\n```\n","author":{"url":"https://github.com/VladimirZhilyakov","@type":"Person","name":"VladimirZhilyakov"},"datePublished":"2014-12-06T17:55:13.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/1268/androidannotations/issues/1268"}
| 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:b1cd4ee6-8a2c-440d-f5be-36bc6d98b0c1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C40E:354D18:3F29B0:55DC7D:6A611B13 |
| html-safe-nonce | 917be6b9e1464101b3bd41b86720e11c0d269692d3185bf8a9e22a40d370b2d5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDBFOjM1NEQxODozRjI5QjA6NTVEQzdEOjZBNjExQjEzIiwidmlzaXRvcl9pZCI6IjgyMTgxNzE1NzkwODE3NTk1MDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | dbba7637ab6ca4a6e4864d769231ba6d015b350de86a2de6f1c295123687496b |
| hovercard-subject-tag | issue:51190507 |
| 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/1268/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e50dfc1e7e6d131eb4c31dd5e3d5d78289bf44bf331a7379ff64acd51f974df5/androidannotations/androidannotations/issues/1268 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e50dfc1e7e6d131eb4c31dd5e3d5d78289bf44bf331a7379ff64acd51f974df5/androidannotations/androidannotations/issues/1268 |
| og:image:alt | There is a service that implements an action with multiple parameters: @ServiceAction void mySimpleAction(String param1, int param2, String param3) { Log.i("MyService", "mySimpleAction " + param1 +... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | VladimirZhilyakov |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5d23cf1c0cd2fa53870b9a743b3e1bc3ff0d0b0b3a477b50251e1c9dd8ecb93d |
| 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 | abf5a2f79ab9b533c5865f5281057f7d17cf18f3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width