title: How to show typing indicator in android firebase chat
body: <p>I need to implement typing indicator in chat application using firebase.
  I have a logic like</p>
  
  <ul>
  <li>Add a textwatcher listener and  in text change listener update flag of a field named typing in firebase db </li>
  <li><p>Then i think when a value change it will notify the value change listener</p>
  
  <p>if any one has a code implementation please share.</p></li>
  </ul>
  
  <p><a href="https://i.stack.imgur.com/0xiXg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0xiXg.png" alt="enter image description here"></a></p>