Skip to content

Instantly share code, notes, and snippets.

@myroniak
Last active June 13, 2016 17:34
Show Gist options
  • Save myroniak/d233ad69f3899bec40af28a21049e14b to your computer and use it in GitHub Desktop.
Save myroniak/d233ad69f3899bec40af28a21049e14b to your computer and use it in GitHub Desktop.
CustomFragmentDialog mCustomFragmentDialog = new CustomFragmentDialog();
mCustomFragmentDialog.caller = new CustomFragmentDialog.NoticeDialogListener() {
@Override
public void onDialogPositiveClick(DialogInterface dialog) {
mTaskArrayList.clear();
clearData();
mTaskAdapter.notifyDataSetChanged();
}
};
mCustomFragmentDialog.show(getFragmentManager(),"");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment