Skip to content Skip to sidebar Skip to footer

Load Navigation Drawer Slider With Dynamic Fragments

I'm making an Android App for my college using navigation drawer. It has two types of users - students & faculty. So depending upon the email-id/username I want to load the com

Solution 1:

You are trying to get the ID of a framelayout but casting it as listview

DrawerList = (ListView) findViewById(R.id.left_drawer);

which should actually be

DrawerList = (FrameLayout) findViewById(R.id.left_drawer);

Post a Comment for "Load Navigation Drawer Slider With Dynamic Fragments"