Skip to content

Commit

Permalink
Use open() method instead of openDrawer()
Browse files Browse the repository at this point in the history
Use `open()` method instead of `openDrawer()` because this method will be removed in the next release.
  • Loading branch information
herau authored Oct 17, 2016
1 parent 4ac48c5 commit 1e1f2ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FAQ/opening-drawer-from-espresso.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ First, you need a add `espresso-contrib` to your project. It has the needed `Dra

Then, you need to open the drawer with his `openDrawer()` method and the drawer layout ID. The generated one is `R.id.material_drawer_layout`

`DrawerActions.openDrawer(R.id.material_drawer_layout);`
`DrawerActions.open(R.id.material_drawer_layout);`

0 comments on commit 1e1f2ed

Please sign in to comment.