Title: Port some features of Butter Knife · Issue #975 · androidannotations/androidannotations · GitHub
Open Graph Title: Port some features of Butter Knife · Issue #975 · androidannotations/androidannotations
X Title: Port some features of Butter Knife · Issue #975 · androidannotations/androidannotations
Description: Butter Knife is a view "injection" library for Android, which also uses code generation, and a little reflection to avoid using new names like MyActivity_. In general, AA can do much-much more than Butter Knife, but some new features can...
Open Graph Description: Butter Knife is a view "injection" library for Android, which also uses code generation, and a little reflection to avoid using new names like MyActivity_. In general, AA can do much-much more than...
X Description: Butter Knife is a view "injection" library for Android, which also uses code generation, and a little reflection to avoid using new names like MyActivity_. In general, AA can do much-much...
Opengraph URL: https://github.com/androidannotations/androidannotations/issues/975
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Port some features of Butter Knife","articleBody":"[Butter Knife](https://github.com/JakeWharton/butterknife) is a view \"injection\" library for Android, which also uses code generation, and a little reflection to avoid using new names like `MyActivity_`. In general, AA can do much-much more than Butter Knife, but some new features can be considered to be ported to AA.\n\n**View lists**\n\n``` java\n@InjectViews({ R.id.first_name, R.id.middle_name, R.id.last_name })\nList\u003cEditText\u003e nameViews;\n```\n\nViews which can be handled together can be injected to a single `List`. Also a convenience `ButterKnife.apply` is provided to avoid foreach, and that can use an Android `Property`, too.\n\n**Single method multiple IDs**\n\n``` java\n@OnClick({ R.id.door1, R.id.door2, R.id.door3 })\npublic void pickDoor(DoorView door)\n```\n\nI think we could add another parameter to our relevant annotations which accepts an array of ints, and is `null` by default.\nWhat do you think, guys?\n","author":{"url":"https://github.com/WonderCsabo","@type":"Person","name":"WonderCsabo"},"datePublished":"2014-04-22T08:37:22.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/975/androidannotations/issues/975"}
| 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:0d8c825d-e3da-c506-d5f8-027ca4faf52c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ACBE:74A48:BB434F:103E5D2:6A6057BC |
| html-safe-nonce | 210e3ccbcc90252a4047027e7aec9b474a75aa6abab426e1be8aa65ac309827a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQ0JFOjc0QTQ4OkJCNDM0RjoxMDNFNUQyOjZBNjA1N0JDIiwidmlzaXRvcl9pZCI6IjIxODU3MTYyNDE3Njc4ODA2MzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 36ffca6f0f9cfbee5ef5df610e775d6da646df35247cabe62dc95449d9228456 |
| hovercard-subject-tag | issue:31954580 |
| 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/975/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b71f3e9ce4a2a664729ba7b92ffdd67f4ed4128c04182439dac2d7e23a025b96/androidannotations/androidannotations/issues/975 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b71f3e9ce4a2a664729ba7b92ffdd67f4ed4128c04182439dac2d7e23a025b96/androidannotations/androidannotations/issues/975 |
| og:image:alt | Butter Knife is a view "injection" library for Android, which also uses code generation, and a little reflection to avoid using new names like MyActivity_. In general, AA can do much-much more than... |
| 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 | 60da8c2a42fa2bbf5f7567474990ec467836a84444262a58e200fa91b7f3d2d0 |
| 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 | 9824515e740d83d5eb82168a089b806ab0fe04a1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width