|
114 | 114 | import com.mapbox.mapboxandroiddemo.examples.plugins.BuildingPluginActivity; |
115 | 115 | import com.mapbox.mapboxandroiddemo.examples.plugins.LocalizationPluginActivity; |
116 | 116 | import com.mapbox.mapboxandroiddemo.examples.plugins.MarkerViewPluginActivity; |
117 | | -import com.mapbox.mapboxandroiddemo.examples.plugins.PlaceSelectionPluginActivity; |
118 | 117 | import com.mapbox.mapboxandroiddemo.examples.plugins.PlacesPluginActivity; |
119 | 118 | import com.mapbox.mapboxandroiddemo.examples.plugins.ScalebarPluginActivity; |
120 | 119 | import com.mapbox.mapboxandroiddemo.examples.plugins.SymbolListenerActivity; |
@@ -781,14 +780,17 @@ private void initializeModels() { |
781 | 780 | R.string.activity_plugins_localization_plugin_url, false, BuildConfig.MIN_SDK_VERSION) |
782 | 781 | ); |
783 | 782 |
|
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 | + );*/ |
792 | 794 |
|
793 | 795 | exampleItemModels.add(new ExampleItemModel( |
794 | 796 | R.id.nav_plugins, |
|
0 commit comments