search view on top
list with formated item_views containing: shop name, address, distance, opening hours, button "more"
list item should react with toast message on click
try to find algorythm to find closest shops by LatLong values
service should be able to recalculate distance over any given list of shops and current user location - for filtering list etc.
or maybe calculating distance for all shops each time wont be that slow?
Describe the bug
Crash when trying to get location
To Reproduce
unknown
Expected behavior
no crash
Smartphone (please complete the following information):
only Samsung devices with Android 8,9,10
Additional context Fatal Exception: java.lang.IllegalStateException: Already resumed at kotlin.coroutines.SafeContinuation.resumeWith(SafeContinuationJvm.kt:45) at com.hedgehog.gdzietabiedra.appservice.LocationService.getLocation(LocationService.kt:35) at com.hedgehog.gdzietabiedra.ui.list.ListViewModel$loadShopsForUserLocation$1.invokeSuspend(ListViewModel.kt:33) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:56) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:738) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)