excilys/androidannotations — pull request #1012 by tomreay (2014-05-22 20:07:11+00:00)
Title: 1010 

Pull request to fix https://github.com/excilys/androidannotations/issues/1010

The super call has been removed entirely because looking at the Fragment code, in the base case where you extend just Fragment, the super method does not doing anything useful.

Only in classes like ListFragment does the super do something, namely inflate a default view which is what we want to avoid doing. The setOnCreateView() method is only called if a custom layout ID has been set on the @EFragment annotation

The setOnCreateView() call from getContentView() has been removed as it causes onCreateView to be overridden even if no custom layout ID has been set which would stop the default layout being inflated.