Code example for ListPopupWindow

Methods: isShowing, postShow, setInputMethodMode

0
		 
	} 
	@Override 
	public void onTextChanged(CharSequence arg0, int arg1, int arg2, int arg3) {
		Log.d("UseListPopupWindow", " onTextChange() :");
		if(!popup.isShowing()){
			popup.setInputMethodMode(ListPopupWindow.INPUT_METHOD_NEEDED);
			 
			popup.postShow();
//	        popup.show(); 
		} 
	} 
}