示例#1
0
 public static CountryPicker getInstance(String dialogTitle, CountryPickerListener listener) {
   CountryPicker picker = getInstance(listener);
   Bundle bundle = new Bundle();
   bundle.putString(DIALOG_TITLE_KEY, dialogTitle);
   picker.setArguments(bundle);
   return picker;
 }
示例#2
0
 public static CountryPicker getInstance(CountryPickerListener listener) {
   CountryPicker picker = new CountryPicker();
   picker.mListener = listener;
   return picker;
 }