I have a DialogFragment in which I can handle events in two ways:
to process the activation from which it was called:
((MainActivity) getActivity()).okClicked();process directly to
DialogFragment.
How to do right?
I have a DialogFragment in which I can handle events in two ways:
to process the activation from which it was called:
((MainActivity) getActivity()).okClicked(); process directly to DialogFragment .
How to do right?
Source: https://ru.stackoverflow.com/questions/575244/
All Articles