Title: Provide constructor injection and setter injection (?) · Issue #204 · androidannotations/androidannotations · GitHub
Open Graph Title: Provide constructor injection and setter injection (?) · Issue #204 · androidannotations/androidannotations
X Title: Provide constructor injection and setter injection (?) · Issue #204 · androidannotations/androidannotations
Description: We currently force the users to have at least package private (default) scopes for their fields. Some users might not appreciate that. We could allow constructor injection / setter injection, this way : @EBean public class MyBean { priva...
Open Graph Description: We currently force the users to have at least package private (default) scopes for their fields. Some users might not appreciate that. We could allow constructor injection / setter injection, this ...
X Description: We currently force the users to have at least package private (default) scopes for their fields. Some users might not appreciate that. We could allow constructor injection / setter injection, this ...
Opengraph URL: https://github.com/androidannotations/androidannotations/issues/204
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Provide constructor injection and setter injection (?)","articleBody":"We currently force the users to have at least package private (default) scopes for their fields. Some users might not appreciate that. We could allow constructor injection / setter injection, this way :\n\n``` java\n@EBean\npublic class MyBean {\n\n private View myView;\n\n private MyOtherBean myOtherBean;\n\n MyBean(@Bean MyOtherBean myOtherBean) {\n this.myOtherBean = myOtherBean;\n }\n\n void setMyView(@ViewById View myView) {\n this.myView = myView;\n }\n\n}\n```\n","author":{"url":"https://github.com/pyricau","@type":"Person","name":"pyricau"},"datePublished":"2012-05-25T14:54:37.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":30},"url":"https://github.com/204/androidannotations/issues/204"}
| 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:933f72aa-50bb-9c80-88bd-40579e830b28 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A3A4:1279C0:1072EFD:1685C23:6A61AC30 |
| html-safe-nonce | ea2f0e1a76145284a25946492e4281c16f585f8c020cc8fde03c57c93888c8de |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBM0E0OjEyNzlDMDoxMDcyRUZEOjE2ODVDMjM6NkE2MUFDMzAiLCJ2aXNpdG9yX2lkIjoiMjkyMzM5NjU5MzA1MDgyMzcyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e7676177a4aee63d29bdc2f0d72311fd466f603001d98e25f7d6ea5e2ad08dd5 |
| hovercard-subject-tag | issue:4754998 |
| 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/204/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ffa580202b26d5829ab789dbf4da6400dc6073c4464a10a899579931a9d012f1/androidannotations/androidannotations/issues/204 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ffa580202b26d5829ab789dbf4da6400dc6073c4464a10a899579931a9d012f1/androidannotations/androidannotations/issues/204 |
| og:image:alt | We currently force the users to have at least package private (default) scopes for their fields. Some users might not appreciate that. We could allow constructor injection / setter injection, this ... |
| 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 | 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