Skip to content
This repository was archived by the owner on Oct 7, 2024. It is now read-only.

Commit c6ef58d

Browse files
author
Langston Smith
authored
Commented out PlaceSelectionPluginActivity place picker example (#1258)
1 parent ab798a6 commit c6ef58d

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

MapboxAndroidDemo/src/global/java/com/mapbox/mapboxandroiddemo/MainActivity.java

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@
114114
import com.mapbox.mapboxandroiddemo.examples.plugins.BuildingPluginActivity;
115115
import com.mapbox.mapboxandroiddemo.examples.plugins.LocalizationPluginActivity;
116116
import com.mapbox.mapboxandroiddemo.examples.plugins.MarkerViewPluginActivity;
117-
import com.mapbox.mapboxandroiddemo.examples.plugins.PlaceSelectionPluginActivity;
118117
import com.mapbox.mapboxandroiddemo.examples.plugins.PlacesPluginActivity;
119118
import com.mapbox.mapboxandroiddemo.examples.plugins.ScalebarPluginActivity;
120119
import com.mapbox.mapboxandroiddemo.examples.plugins.SymbolListenerActivity;
@@ -781,14 +780,17 @@ private void initializeModels() {
781780
R.string.activity_plugins_localization_plugin_url, false, BuildConfig.MIN_SDK_VERSION)
782781
);
783782

784-
exampleItemModels.add(new ExampleItemModel(
785-
R.id.nav_plugins,
786-
R.string.activity_plugins_place_picker_plugin_title,
787-
R.string.activity_plugins_place_picker_plugin_description,
788-
new Intent(MainActivity.this, PlaceSelectionPluginActivity.class),
789-
null,
790-
R.string.activity_plugins_place_picker_plugin_url, false, BuildConfig.MIN_SDK_VERSION)
791-
);
783+
// TODO: The example below is currently commented out because it crashes due
784+
// to incompatibility between the Mapbox Places Plugin and this app's usage
785+
// of AndroidX. This is being tracked at:
786+
// https://github.com/mapbox/mapbox-plugins-android/issues/908
787+
/* exampleItemModels.add(new ExampleItemModel(
788+
R.id.nav_plugins,
789+
R.string.activity_plugins_place_picker_plugin_title,
790+
R.string.activity_plugins_place_picker_plugin_description,
791+
new Intent(MainActivity.this, PlaceSelectionPluginActivity.class),
792+
null, R.string.activity_plugins_place_picker_plugin_url, false, BuildConfig.MIN_SDK_VERSION)
793+
);*/
792794

793795
exampleItemModels.add(new ExampleItemModel(
794796
R.id.nav_plugins,

0 commit comments

Comments
 (0)