-1

Here is the Problem
NearbyFragment.class:

@Override
    public void onActivityResult(int requestCode, int resultCode, Intent data) {
        super.onActivityResult(requestCode, resultCode, data);
        if (requestCode == PicklocationActivity.LOCATION_PICKER_ID) {
            if (resultCode == RESULT_OK) {
                String addressset = data.getStringExtra(PicklocationActivity.LOCATION_NAME);
                LatLng latLng = data.getParcelableExtra(PicklocationActivity.LOCATION_LATLNG);
                picklocation = addressset;
                searchFilter(latLng.getLatitude(), latLng.getLongitude(), addressset);


            }
        }

    }

I would like to change from the Mapbox API to Google location. I just can't solve my problem

Prajwal Kulkarni
  • 1,480
  • 13
  • 22
  • Please elaborate a bit on what your actual problem is. So far you've just posted some code without context - does something there not do what you expect? If so, what does it do, and what do you want it to do? – Tyler V Aug 19 '23 at 02:35

0 Answers0