Exemplo n.º 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;
 }
Exemplo n.º 2
0
 public static CountryPicker getInstance(CountryPickerListener listener) {
   CountryPicker picker = new CountryPicker();
   picker.mListener = listener;
   return picker;
 }