Perfom a task when my app restored from background
<p>I need to do some network request when user restores my app from background (for example: worked with app - pressed home button - home screen - switched to my app again via task manager or clicked app icon). I don't want this to be triggered by screen rotate or simple change of current activity by startActivity(). What is the best approach?</p>
