Block drawer gesture if it's on ScrollView
This commit is contained in:
1 parent
0353c1cebb
commit
5b961d71b8
4 files changed
+67
-8
No files matched your search
@@ -626,6 +626,20 @@ public final class MainActivity extends StageActivity
|
||||
}
|
||||
}
|
||||
|
||||
public void setDrawerGestureBlocker(DrawerLayout.GestureBlocker gestureBlocker) {
|
||||
if (mDrawerLayout != null) {
|
||||
mDrawerLayout.setGestureBlocker(gestureBlocker);
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isDrawersVisible() {
|
||||
if (mDrawerLayout != null) {
|
||||
return mDrawerLayout.isDrawersVisible();
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public void setNavCheckedItem(@IdRes int resId) {
|
||||
mNavCheckedItem = resId;
|
||||
if (mNavView != null) {
|
||||
|
||||
Reference in new issue
Block a user