title: how to use async task to check background data when there is no network call
body: <p>I have a json response which is loading from api in particular activity in background.This data is for another acitivity which is done to reduce time when landing activity is clicked.</p>
  
  <p>when the landing activity is loaded and if it is on cellular network and at the same time if landing activity is clicked by user then that data is still not loaded i.e it is still loading.</p>
  
  <p>In this state i want to have a check in landing activity that if the data for array is empty then it must show loader and if it is loaded then display data.</p>
  
  <p>Basically can we use async task when there is no network call.In my case network call for data is already done in previous activity I just want to check data in array in background.</p>
  
  <p>or
  Is there any another solution to keep check in background.?
  Can anyone help?</p>