title: How to fix "The application may be doing too much work on its main thread" in Android?
body: <p>When I'm fetching vast amount of data (in form of videos) from cache the app responds after a long delay.</p>
  <p>How do I resolve or fix it?</p>
  <p><a href="https://i.stack.imgur.com/XVSho.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XVSho.png" alt="Logcat: The application may be doing too much work on its main thread" /></a></p>