Title: Layout with ListFragment · Issue #741 · androidannotations/androidannotations · GitHub
Open Graph Title: Layout with ListFragment · Issue #741 · androidannotations/androidannotations
X Title: Layout with ListFragment · Issue #741 · androidannotations/androidannotations
Description: This is the code AA generates for my fragment. Now if you extend Fragment that's fine, but when you extend ListFragment it's not, because the ListFragment implementation of onCreateView doesn't return null, like the Fragment implementati...
Open Graph Description: This is the code AA generates for my fragment. Now if you extend Fragment that's fine, but when you extend ListFragment it's not, because the ListFragment implementation of onCreateView doesn't ret...
X Description: This is the code AA generates for my fragment. Now if you extend Fragment that's fine, but when you extend ListFragment it's not, because the ListFragment implementation of onCreateView doe...
Opengraph URL: https://github.com/androidannotations/androidannotations/issues/741
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Layout with ListFragment","articleBody":"This is the code AA generates for my fragment. Now if you extend Fragment that's fine, but when you extend ListFragment it's not, because the ListFragment implementation of onCreateView doesn't return null, like the Fragment implementation does.\n\n``` java\n@Override\npublic View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n contentView_ = super.onCreateView(inflater, container, savedInstanceState);\n if (contentView_ == null) {\n contentView_ = inflater.inflate(layout.simple_list, container, false);\n }\n return contentView_;\n}\n```\n\nCurrently I'm using this to make it work, though one could say it destroys the whole point of doing the layout the AA way.\n\n``` java\n@Override\npublic View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n return null;\n}\n```\n\nIf this was a design decision, why not add an optional boolean field to the annotation where you can tell AA to ignore super implementations.\n","author":{"url":"https://github.com/Lochnair","@type":"Person","name":"Lochnair"},"datePublished":"2013-09-24T10:32:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":31},"url":"https://github.com/741/androidannotations/issues/741"}
| 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:ffc88d29-18a9-95c6-d086-a1ef7facc93c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9A74:42230:2992C4:3780C1:6A610041 |
| html-safe-nonce | 7a2a5620186f8829a4788f950b7d67d4e49a1a807ae89ff736e247184d4e2168 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTc0OjQyMjMwOjI5OTJDNDozNzgwQzE6NkE2MTAwNDEiLCJ2aXNpdG9yX2lkIjoiOTA5NjY1MDc1OTQ0Mjg1ODA0OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9242732ce8fc015e24756bfc45c4191c38a60a5ff3b547a2d14f07b335c082c5 |
| hovercard-subject-tag | issue:19968937 |
| 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/741/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1664d8078e0b07fd3699b56fbdb84487722008e379ca4ec01d967696b16b6f4f/androidannotations/androidannotations/issues/741 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1664d8078e0b07fd3699b56fbdb84487722008e379ca4ec01d967696b16b6f4f/androidannotations/androidannotations/issues/741 |
| og:image:alt | This is the code AA generates for my fragment. Now if you extend Fragment that's fine, but when you extend ListFragment it's not, because the ListFragment implementation of onCreateView doesn't ret... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Lochnair |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9029e642b81338577ec563d0cede79b18d6f1471b9ecdd8e364313b9cc67dd06 |
| 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 | 0af5dc40dcb0f82accd92a80d9517702c13746f0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width