Code example for Dialog

Methods: findViewById, getContext

0
		inflate(a.findViewById(_id));
	} 
	 
	public void inflate(Dialog d){
		if (isInflated()) return; 
		_m = d.getContext();
		if (isNoId()){ 
			return; 
		} 
		 
		if (inLayoutRandge(_id)){
			LayoutInflater li = LayoutInflater.from(_m);
			inflate(li.inflate(_id, null));
			return; 
		} 
		 
		inflate(d.findViewById(_id));
	} 
	 
	public void inflateLayout(Context m){
		if (isInflated()) return; 
		_m = m;