Code example for View

Methods: findViewById

		LayoutInflater inflater = (LayoutInflater) context
		View v = inflater.inflate(R.layout.balloon_overlay_example2, parent);
		// setup our fields 
		title = (TextView) v.findViewById(;
		snippet = (TextView) v.findViewById(;
		image = (ImageView) v.findViewById(;
	protected void setBalloonData(CustomOverlayItem item, ViewGroup parent) {
		// map our custom item data to fields 
		// get remote image from network. 
		// bitmap results would normally be cached, but this is good enough for demo purpose. 
Stop searching for code, let great code find you!  Add Codota to your java IDE