private IcsListPopupWindow getListPopupWindow ( ) { if ( mListPopupWindow == null ) { mListPopupWindow = new IcsListPopupWindow ( getContext ( ) ) ; mListPopupWindow . setAdapter ( mAdapter ) ; mListPopupWindow . setAnchorView ( ActivityChooserView . this ) ; mListPopupWindow . setModal ( true ) ; mListPopupWindow . setOnItemClickListener ( mCallbacks ) ; mListPopupWindow . setOnDismissListener ( mCallbacks ) ; } return mListPopupWindow ; }
Gets the list popup window which is lazily initialized .