This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* As we use app compat it seems Solo#setNavigationDrawer is not doing well (drawer does not open, but the button is clicked) | |
* Same result for clickOnView(getView(android.R.id.home)) | |
* | |
* This code opens the navigation drawer on the main thread | |
* Be aware : you need to provide your DrawerLayout id (you can do it in params) | |
*/ | |
public void openCompatNavigationDrawer() { | |
getInstrumentation().runOnMainSync(new Runnable() { | |
@Override |