Disable right drawer when scroll FastScroller
This commit is contained in:
1 parent
f674e2331e
commit
2e5efa1cd6
5 files changed
+56
-11
No files matched your search
@@ -310,6 +310,14 @@ public final class MainActivity extends StageActivity
|
||||
}
|
||||
}
|
||||
|
||||
public int getDrawerLockMode(int edgeGravity) {
|
||||
if (mDrawerLayout != null) {
|
||||
return mDrawerLayout.getDrawerLockMode(edgeGravity);
|
||||
} else {
|
||||
return DrawerLayout.LOCK_MODE_UNLOCKED;
|
||||
}
|
||||
}
|
||||
|
||||
public void setDrawerLockMode(int lockMode, int edgeGravity) {
|
||||
if (mDrawerLayout != null) {
|
||||
mDrawerLayout.setDrawerLockMode(lockMode, edgeGravity);
|
||||
|
||||
Reference in new issue
Block a user