fix typo in code comment

Change-Id: Iefe5a52db4bb5852f3651487e97917879cdfa890
This commit is contained in:
Scott Main
2013-10-08 13:38:31 -07:00
parent dd8e315b86
commit 6a831b7d5c

View File

@@ -122,11 +122,11 @@ public class MainActivity extends FragmentActivity {
return; return;
} }
// Create an instance of ExampleFragment // Create a new Fragment to be placed in the activity layout
HeadlinesFragment firstFragment = new HeadlinesFragment(); HeadlinesFragment firstFragment = new HeadlinesFragment();
// In case this activity was started with special instructions from an Intent, // In case this activity was started with special instructions from an
// pass the Intent's extras to the fragment as arguments // Intent, pass the Intent's extras to the fragment as arguments
firstFragment.setArguments(getIntent().getExtras()); firstFragment.setArguments(getIntent().getExtras());
// Add the fragment to the 'fragment_container' FrameLayout // Add the fragment to the 'fragment_container' FrameLayout