I think I figured out why. the fragment returned b...
# getting-started
c
I think I figured out why. the fragment returned by
findFragmentById
is located in
android.support.v4.app
package, why the fragment which
PlaceAutocompleteFragment
extends is located in a different package So, Instead of using
PlaceAutocompleteFragment
, I should be using
SupportPlaceAutocompleteFragment
And that fixed it, So the compiler wasn't wrong afterall!