Code example for WeakHashMap

Methods: clear

0
	 * @param data 
	 */ 
	public PicAdapter(Context context,int resource, List<? extends Map<String, ?>> data, Resources res) {
		    super(context,  resource,data);
		    this.res = res;
			viewmap.clear();
		 	mData = data;
	        mResource = resource;
	        //mFrom = from; 
	        //mTo = to; 
	        mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
	} 
	 
	/** 
 
	* @see android.widget.Adapter#getView(int, View, ViewGroup) 
 
	*/ 
 
	@Override 
	public View getView(int position, View convertView, ViewGroup parent) {