title: How to detect if navigation drawer is open?
body: <p>The title explains it all. All what I want to do is to know if the navigation drawer is open or not. I searched a lot on the net and found the method <code>isDrawerOpen(int drawerGravity)</code>but couldn't find a satisfactory answer which explains how to use it in a method. I would appreciate if anyone explains it to me.</p>
  
  <p>Thanks in advance!</p>