DrawerActivity¶
-
public class
DrawerActivity
extends AppCompatActivity implements NavigationView.OnNavigationItemSelectedListener¶ Superclass for all Activities that have a navigation drawer
Fields¶
frameLayout¶
-
protected FrameLayout
frameLayout
¶ Parent for the drawer activity
fullLayout¶
-
protected DrawerLayout
fullLayout
¶ The inflated user interface for the activity with the drawer
mDrawerLayout¶
-
protected DrawerLayout
mDrawerLayout
¶ User interface for the drawer itself
mDrawerToggle¶
-
protected ActionBarDrawerToggle
mDrawerToggle
¶ Toggles whether the drawer is visible
subscribedNetworkIds¶
Methods¶
onConfigurationChanged¶
-
public void
onConfigurationChanged
(Configuration newConfig)¶ {@inheritDoc} Also updates the configuration of the drawer toggle by calling
DrawerActivity.mDrawerToggle.onConfigurationChanged(Configuration)
with the provided parameter.Parameters: - newConfig – {@inheritDoc}
onPostCreate¶
-
protected void
onPostCreate
(Bundle savedInstanceState)¶ {@inheritDoc} Also syncs the state of
DrawerActivity.mDrawerToggle
Parameters: - savedInstanceState – {@inheritDoc}