#1940 - Converting OnMapChangedListener to a Collection instead of just a single instance

This commit is contained in:
Brad Leege
2015-08-04 19:06:26 -05:00
parent 2fccc2bbd6
commit 6745b404de
2 changed files with 25 additions and 14 deletions

View File

@@ -114,7 +114,7 @@ public class MainActivity extends ActionBarActivity {
mapView.onCreate(savedInstanceState);
mapView.setOnFpsChangedListener(new MyOnFpsChangedListener());
mapView.setOnMapChangedListener(new MyOnMapChangedListener());
mapView.addOnMapChangedListener(new MyOnMapChangedListener());
final GestureDetector gestureDetector = new GestureDetector(this, new GestureDetector.SimpleOnGestureListener() {
public void onLongPress(final MotionEvent e) {