Home
last modified time | relevance | path

Searched refs:mDrawerList (Results 1 – 2 of 2) sorted by relevance

/development/samples/training/NavigationDrawer/src/com/example/android/navigationdrawerexample/
DMainActivity.java72 private ListView mDrawerList; field in MainActivity
87 mDrawerList = (ListView) findViewById(R.id.left_drawer); in onCreate()
92 mDrawerList.setAdapter(new ArrayAdapter<String>(this, in onCreate()
94 mDrawerList.setOnItemClickListener(new DrawerItemClickListener()); in onCreate()
137 boolean drawerOpen = mDrawerLayout.isDrawerOpen(mDrawerList); in onPrepareOptionsMenu()
186 mDrawerList.setItemChecked(position, true); in selectItem()
188 mDrawerLayout.closeDrawer(mDrawerList); in selectItem()
/development/samples/browseable/NavigationDrawer/src/com.example.android.navigationdrawer/
DNavigationDrawerActivity.java70 private RecyclerView mDrawerList; field in NavigationDrawerActivity
85 mDrawerList = (RecyclerView) findViewById(R.id.left_drawer); in onCreate()
90 mDrawerList.setHasFixedSize(true); in onCreate()
93 mDrawerList.setAdapter(new PlanetAdapter(mPlanetTitles, this)); in onCreate()
136 boolean drawerOpen = mDrawerLayout.isDrawerOpen(mDrawerList); in onPrepareOptionsMenu()
183 mDrawerLayout.closeDrawer(mDrawerList); in selectItem()