* commit 'a473027da92ed4059b70224579b218eace083fcb': fix typo in code comment
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user