Below is the code which I have for my application. Ive tried working on this but have not came across anything that works sucessfully for me. Without changing to fragments what is there that I can do.
public boolean onNavigationItemSelected(MenuItem item) {
// Handle navigation view item clicks here.
int id = item.getItemId();
if (id == R.id.my_account) {
} else if (id == R.id.nav_news) {
} else if (id == R.id.nav_live) {
} else if (id == R.id.nav_media) {
} else if (id == R.id.nav_calendar) {
} else if (id == R.id.nav_results) {
} else if (id == R.id.nav_about) {
} else if (id == R.id.nav_shop) {
} else if (id == R.id.nav_social_media) {
} else if (id == nav_fanzone) {
}
DrawerLayout drawer = (DrawerLayout) findViewById(R.id.drawer_layout);
drawer.closeDrawer(GravityCompat.START);
return true;
}