title: Method setDrawerListener is deprecated
body: <p>While I'm doing something on my app, I see that the navigation drawer on my app reduced its size. But I'm not doing anything on that.</p>
  
  <p><a href="https://i.stack.imgur.com/Mp6I0.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Mp6I0.png" alt="navigation drawer"></a></p>
  
  <p>Then, after checking the code, I saw that setDrawerListener is deprecated. Does anyone has a solution to this? </p>
  
  <pre><code>drawerLayout.setDrawerListener(actionBarDrawerToggle);
  </code></pre>