Lines Matching refs:listener
42 public interface Listener {
49 if (!(activity instanceof Listener)) {
51 "Activity must implement " + Listener.class.getName());
68 // Prepare the AlertDialog items and click listener
76 final Listener listener = (Listener) getActivity();
80 listener.onRemovePictureChosen();
83 listener.onTakePhotoChosen();
86 listener.onPickFromGalleryChosen();
97 builder.setNegativeButton(android.R.string.cancel, /* listener =*/ null);