AdevintaSpain / Leku

:earth_africa: Map location picker component for Android. Based on Google Maps. An alternative to Google Place Picker.
https://adevintaspain.github.io/Leku/
Apache License 2.0
763 stars 170 forks source link

ISSUE 339 - Solved crash with UndeliverableException on Geocoder #340

Closed ferranpons closed 2 years ago

ferranpons commented 2 years ago

ISSUE

339

Description

There was a crash with Geocoder when an error is raised and the Disposable is already disposed. To solve this problem we have changed the place where the subscribe is done (from the repository to the presenter). Also we have replaced the Observable object to a Single to better manage the results and simplify the code.

Screenshots

No screens

Mandatory GIF

mandatory