title: How to set default home Fragment
body: <p>I've navigation drawer menu with replace content frame, but I don't know how to set a default home fragment.</p>
  
  <p>This is my code</p>
  
  <pre><code>    @Override
      protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
  
      menu = getResources().getStringArray(R.array.menu);
      dLayout = (DrawerLayout) findViewById(R.id.drawer_layout);
      dList = (ListView) findViewById(R.id.left_drawer);
      adapter = new ArrayAdapter&lt;String&gt;(this, android.R.layout.simple_list_item_1, menu);
      dList.setAdapter(adapter);
      dList.setSelector(R.color.pick);
      dList.setOnItemClickListener(new AdapterView.OnItemClickListener() {
          @Override
          public void onItemClick(AdapterView&lt;?&gt; arg0, View v, int position, long id) {
              dLayout.closeDrawers();
              Bundle args = new Bundle();
              args.putString("Menu", menu[position]);
              Fragment detail = null;
              FragmentManager FM = getFragmentManager();
              switch (position) {
                  case 0:
                      detail = new HomeFragment();
                      break;
                  case 1:
                      detail = new DataBase();
                      break;
                  case 2:
                      detail = new MappingFragment();
                      break;
                  case 3:
                      detail = new HelpFragment();
                      break;
                  default:
                      break;
              }
              FM.beginTransaction().replace(R.id.content_frame, detail).commit();
          }
      });
  }
  </code></pre>
  
  <p>I want set HomeFragment to default chosen/home page</p>