Title: Add @IgnoreWhenViewDestroyed · Issue #1597 · androidannotations/androidannotations · GitHub
Open Graph Title: Add @IgnoreWhenViewDestroyed · Issue #1597 · androidannotations/androidannotations
X Title: Add @IgnoreWhenViewDestroyed · Issue #1597 · androidannotations/androidannotations
Description: Now AndroidAnnotations clears injected view fields in onDestroyView() by setting each to null. However background tasks can be completed later. To avoid NPE-s, currently the client has to check wether the views are null or not. We could ...
Open Graph Description: Now AndroidAnnotations clears injected view fields in onDestroyView() by setting each to null. However background tasks can be completed later. To avoid NPE-s, currently the client has to check wet...
X Description: Now AndroidAnnotations clears injected view fields in onDestroyView() by setting each to null. However background tasks can be completed later. To avoid NPE-s, currently the client has to check wet...
Opengraph URL: https://github.com/androidannotations/androidannotations/issues/1597
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add @IgnoreWhenViewDestroyed","articleBody":"Now AndroidAnnotations clears injected view fields in `onDestroyView()` by setting each to `null`. However background tasks can be completed later. To avoid NPE-s, currently the client has to check wether the views are `null` or not. We could create a new annotation just like `@IgnoreWhenDetached` to remove that boilerplate. This was already [suggested](https://github.com/excilys/androidannotations/pull/1165#issuecomment-57061775) by @nbelikov.\n","author":{"url":"https://github.com/WonderCsabo","@type":"Person","name":"WonderCsabo"},"datePublished":"2015-10-20T08:40:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":25},"url":"https://github.com/1597/androidannotations/issues/1597"}
| 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:8a2eecce-ec8c-f906-ff0b-f0830f11b9bb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B8FE:4C4AC:17EA515:21A7FCB:6A61D62C |
| html-safe-nonce | 517ad6b0f98a3214c3189212e5608c5bbb78972a3ee4bf7837140811f2f79e80 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOEZFOjRDNEFDOjE3RUE1MTU6MjFBN0ZDQjo2QTYxRDYyQyIsInZpc2l0b3JfaWQiOiIzMzk4MjMyODE3Mzc2ODQ1MjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 765b4acfa8c2f82899073b28c32ffc0fb1a402f3cd542ea52ac0d53e4b0d7fb8 |
| hovercard-subject-tag | issue:112315084 |
| 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/1597/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2605caa85e839f39feab7a151e323ebd20a17b03c6d7baad8e89d458515dfee4/androidannotations/androidannotations/issues/1597 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2605caa85e839f39feab7a151e323ebd20a17b03c6d7baad8e89d458515dfee4/androidannotations/androidannotations/issues/1597 |
| og:image:alt | Now AndroidAnnotations clears injected view fields in onDestroyView() by setting each to null. However background tasks can be completed later. To avoid NPE-s, currently the client has to check wet... |
| 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 | b2de8c74e5e61e893155ba46ee41bc66170c1644cb795adefa8386d490f7781c |
| 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 | d1866027ded575df8a15c731dd8b9986c9483ceb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width