title: How to hide ActionBar while scrolling ListView in android?
body: <p>I need to create a GUI with a <code>ListView</code> and an <code>ActionBar</code> which will hide when scrolling down and when scrolling up it must reappear.</p>
  <p>The following guides didn't help me:</p>
  <ul>
  <li><a href="https://mzgreen.github.io/2015/06/23/How-to-hideshow-Toolbar-when-list-is-scrolling%28part3%29/" rel="noreferrer">https://mzgreen.github.io/2015/06/23/How-to-hideshow-Toolbar-when-list-is-scrolling%28part3%29/</a></li>
  <li><a href="https://github.com/ksoichiro/Android-ObservableScrollView" rel="noreferrer">https://github.com/ksoichiro/Android-ObservableScrollView</a></li>
  </ul>
  <p>I need something like this:</p>
  <p><img src="https://i.stack.imgur.com/zoJy8.gif" alt="enter image description here" /></p>