https://kotlinlang.org logo
Title
u

user

07/20/2022, 10:21 AM
How to replace AsyncTask in this code to find places according to a api call string I'm getting this issue on my personal android project: i want to use google places api call to show and mark nearby and specific places on map but it does not work as intended because asyncTasks are deprecated. How to replace the deprecated class AsyncTask ? Thanks in advance: class MapsActivity : FragmentActivity(),OnMapReadyCallback { var context : Context? = null var mMap : GoogleMap? = null override fun onCreate(savedInstanceState: Bundle?) {...