Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- final MapActivity mContext;
- public <T extends MapActivity & OnGestureListener & OnDoubleTapListener> MyMapView(T aContext, String apiKey) {
- super(aContext, apiKey);
- mContext = aContext;
- gestureDetector = new GestureDetector(mContext);
- gestureDetector.setOnDoubleTapListener(mContext);
- }
Add Comment
Please, Sign In to add comment