define adapter
This commit is contained in:
parent
433c4528e9
commit
94ab99301b
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ public class ConfigureMapMenu {
|
||||||
|
|
||||||
adapter.item(R.string.map_magnifier).listen(new OnContextMenuClick() {
|
adapter.item(R.string.map_magnifier).listen(new OnContextMenuClick() {
|
||||||
@Override
|
@Override
|
||||||
public boolean onContextMenuClick(View notUseCouldBeNull) {
|
public boolean onContextMenuClick(final ArrayAdapter<?> ad, int itemId, final int pos, boolean isChecked) {
|
||||||
final OsmandMapTileView view = activity.getMapView();
|
final OsmandMapTileView view = activity.getMapView();
|
||||||
final OsmandSettings.OsmandPreference<Float> mapDensity = view.getSettings().MAP_DENSITY;
|
final OsmandSettings.OsmandPreference<Float> mapDensity = view.getSettings().MAP_DENSITY;
|
||||||
final AlertDialog.Builder bld = new AlertDialog.Builder(view.getContext());
|
final AlertDialog.Builder bld = new AlertDialog.Builder(view.getContext());
|
||||||
|
|
Loading…
Reference in a new issue