Guest User

Untitled

a guest
May 22nd, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.29 KB | None | 0 0
  1. final MapActivity mContext;
  2.    
  3. public <T extends MapActivity & OnGestureListener & OnDoubleTapListener> MyMapView(T aContext, String apiKey) {
  4.     super(aContext, apiKey);
  5.     mContext = aContext;
  6.     gestureDetector = new GestureDetector(mContext);
  7.     gestureDetector.setOnDoubleTapListener(mContext);
  8. }
Add Comment
Please, Sign In to add comment