title: how to observe a live data inside service class
body: <p>I want to insert some records which I get from the API to my database,
  I am using a service class to do this process, I was trying to use this concept of live data inside service class, but it required my service class to be a lifecycleowner.</p>
  <p>am stuck with how to make my service class observer to the changes in a live data</p>
  <p>Any help will be good!!</p>