final Handler handler = new Handler();
AlertDialog.Builder alert = new AlertDialog.Builder(context);
alert.setPositiveButton(“Button”),
new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int which) {
dialog.dismiss();
//doAfter is Runnable
handler.post(doAfter);
return;
}
});
댓글
댓글 쓰기