Bug 6883 - Fragment template doesn't contain OnCreateView() method
Summary: Fragment template doesn't contain OnCreateView() method
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Android Add-in ()
Version: unspecified
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Greg Munn
URL:
Depends on:
Blocks:
 
Reported: 2012-09-04 07:05 UTC by Michael Fink
Modified: 2014-12-03 13:18 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Michael Fink 2012-09-04 07:05:48 UTC
Description of Problem:
When creating an Android Fragment file via the new file dialog, the created Fragment class contains an OnCreate() method. It would be better to add a OnCreateView() method instead, since this is the entry point for a Fragment in its lifecycle.

Steps to reproduce the problem:
1. Create Android Fragment via the new file dialog


Actual Results:
The created Fragment class contains an OnCreate() method. 

Expected Results:
The created Fragment class contains an OnCreateView() method. 

How often does this happen? 
Always.

Additional Information:
Using MonoDroid 4.2.4.167234518 with MonoDevelop 3.0.3.5.
Comment 1 Greg Munn 2014-12-03 13:18:27 UTC
fixed in 5.8.0.33