title: Use Play Services Location API To Get Places Around
body: <p>So I want to use play service location to get current latitude and longitude of user and location updates every 3 minutes to make a request to <code>https://api.foursquare.com/v2/venues/search</code> to fetch places around and show them in a fragment.
  Location updates should be received when app is visible.</p>
  
  <p>I've read some articles about how to use play service location and now I am completely lost.
  My question is what is the best approach to use location api?</p>
  
  <p>Using FouregroundService, BackgroundService, WorkManager ?</p>
  
  <p>Should it be on a background thread or the main thread?</p>
  
  <p>And how should it be implemented with the Android Architecture Component?</p>
  
  <p>Thank in advance.</p>