I'm trying to use a fragment autocomplete UI from ---> https://docs.mapbox.com/android/plugins/overview/places/
but the IDE says that it can't resolve the symbol CarmenFeature and I don't know how to import that class or solve this exception
I've tried :
to import ---> import com.mapbox.api.v4.models.CarmenFeature; but I think that the API folder does not exist
sync with gradle
invalidate cache and restart
rebuild project
clean project
autocompleteFragment = (SupportPlaceAutocompleteFragment) getSupportFragmentManager().findFragmentByTag(TAG);
autocompleteFragment.setOnPlaceSelectedListener(new PlaceSelectionListener() {
@Override
public void onPlaceSelected( CarmenFeature carmenFeature) {
}
@Override
public void onError(Status status) {
}
});