# .setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener(){ public void onClick(DialogInterface dialog, int which) { result.confirm(); } }).create();

lamda

.setPositiveButton(android.R.string.ok, (dialog, which) -> { result.confirm(); }).create();

반응형

+ Recent posts