Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class LocationLiveData(context: Context) : LiveData<LocationModel>() {
- private fun setLocationData(location: Location) {
- value = LocationModel(
- longitude = location.longitude,
- latitude = location.latitude
- )
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement