All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.qozix.tileview.markers.CalloutManager Maven / Gradle / Ivy

Go to download

The TileView widget is a subclass of ViewGroup that provides a mechanism to asynchronously display tile-based images, with additional functionality for 2D dragging, flinging, pinch or double-tap to zoom, adding overlaying Views (markers), built-in Hot Spot support, dynamic path drawing, multiple levels of detail, and support for any relative positioning or coordinate system.

The newest version!
package com.qozix.tileview.markers;

import android.content.Context;
import android.view.MotionEvent;
import android.view.View;

import com.qozix.tileview.detail.DetailManager;

public class CalloutManager extends MarkerManager {

	public CalloutManager( Context context, DetailManager detailManager ) {
		super( context, detailManager );
	}
	
	private void clear(){
		while( getChildCount() > 0 ) {
			View child = getChildAt( 0 );
			removeView( child );
		}
	}
	
	@Override
	public boolean onTouchEvent( MotionEvent event ) {
		clear();
		return false;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy