How to create a background service to populate a list in android?
<p>I have an Activity created in my Application which has a RecyclerView that is populated <strong><em>once</em></strong> <strong>since the activity is started</strong>.</p>

<p>How I can create a background service that starts on the Activity creation and runs on the background and checks through a web process, <strong>every</strong> <strong><em>x</em> seconds/milliseconds</strong> for any changes and repopulate the list in each case accordingly, without drain too much battery?</p>

<p>Every opinion is accepted.</p>