title: How to display a date like Whatsapp on scrolling ListView
body: <p>How can I show dates in an app when I scroll the ListView like in WhatsApp?<br>
  See the below image for clarity:</p>
  
  <p><a href="https://i.stack.imgur.com/V0I8r.png" rel="noreferrer"><img src="https://i.stack.imgur.com/V0I8r.png" alt="enter image description here"></a></p>
  
  <p>When I scroll the ListView, the date gets displayed over the list.<br>
  If you still did not understand my question please open your WhatsApp, go to any group &amp; start scrolling: you will see the date getting displayed for older texts.</p>
  
  <p><a href="https://i.stack.imgur.com/jOcYZ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/jOcYZ.png" alt="enter image description here"></a></p>