Code example for ListPopupWindow

Methods: dismiss

0
        public ChoiceListItem(int id, String caption) {
            mId = id;
            mCaption = caption;
        } 
 
        @Override 
        public String toString() {
            return mCaption;
        } 
 
        public int getId() { 
            return mId;
        } 
    } 
 
    public interface Listener { 
        void onUseAsPrimaryChosen(); 
        void onRemovePictureChosen(); 
        void onTakePhotoChosen(); 
        void onPickFromGalleryChosen(); 
    }