title: why method setDrawerListener is deprecated?how to resolve it?
body: <p>In my android application I see the following error:</p>
  
  <blockquote>
    <p>setDrawerListener(android.support.v4.widget.Drawer
    Layout.DrawerListener)' is deprecated</p>
  </blockquote>
  
  <p>How i can resolve this?</p>
  
  <p>In one answer I see use <code>addDrawerListener()</code> instead <code>setDrawerListener</code> but it does not seem to work.</p>