how to use intents in recyclerview items of navigation drawer to open a new activity fragment?
问题 My activity class is like following: /*ToolBar SetUp*/ app_toolBar = (Toolbar) findViewById(R.id.toolbar_header); setSupportActionBar(app_toolBar); getSupportActionBar().setDisplayShowTitleEnabled(true); getSupportActionBar().setDisplayHomeAsUpEnabled(true); getSupportActionBar().setHomeButtonEnabled(true); String TITLES[] = {"Home", "Search", "HalalRewards", "Contact Us", "User Guide", "F.A.Q", "Settings", "Share"}; int ICONS[] = {R.drawable.ic_action_home, R.drawable.ic_search, R.drawable