I'm trying to develop an application based on google place API. When I try to use
Place place=PlacePicker.getPlace(data,this);
there is an error showing getPlace()
is deprecated.
Please suggest a solution.
Thanks in advance!
I'm trying to develop an application based on google place API. When I try to use
Place place=PlacePicker.getPlace(data,this);
there is an error showing getPlace()
is deprecated.
Please suggest a solution.
Thanks in advance!
The documentation states
This method is deprecated.
UsegetPlace(Context, Intent)
instead.
You should find this information in Android Studio as well.
© 2022 - 2024 — McMap. All rights reserved.