PlaceAutocompleteFragment disappears on click

后端 未结 1 1281
情歌与酒
情歌与酒 2021-01-16 12:25

I wanted to implement AutocompleteTextView (google places) but when I click to searchView in a fragment, the fragment disappears (fell down).

My code:



        
相关标签:
1条回答
  • 2021-01-16 13:14

    I had the same problem. I messed up a little bit with the API Console https://console.developers.google.com/ enabling the Maps API AND the Places API for Android and now it's working fine.

    0 讨论(0)
提交回复
热议问题