Adding PlaceAutocompleteFragment to fragment throws error

后端 未结 6 1283
死守一世寂寞
死守一世寂寞 2021-01-01 16:36

I have implemented PlaceAutocompleteFragment in activity and is working successfuly. But how to implement the same in fragment in android? I have implemented placeautocomple

6条回答
  •  生来不讨喜
    2021-01-01 17:12

    You have to use the following in your XML layout file:

    
    

    Note the full classname and id, your id don't match. (place_autocomplete_fragment1)

提交回复
热议问题