Android Receiving location updates in Kotlin

Often we need our user location or need to update user location in our app.  This is a simple util class that I build for my pet project. Use this below code as a util class

  How to use? Follow the below code call this below code when you need location update. This…