FragmentManager is deprecated. Is there an alternative or what can I do now?
FragmentManager
PlaceAutocompleteFragment autocompleteFragment = (PlaceAutocomplet
Use Support Library overcome this issue.
As per documentation Fragment class has been deprecated:
This class was deprecated in API level 28. Use the Support Library Fragment for consistent behavior across all devices and access to Lifecycle.