I need to locate the fragment currently being shown by a FragmentActivity.
Alternatively, I need to find the Fragment that implements a given Interface.
public boolean onEditorAction(TextView v, int actionId, KeyEvent event) {
if (EditorInfo.IME_ACTION_DONE == actionId) {
// Return input text to fragment
AdjustPricesDialogListener fragment = (AdjustPricesDialogListener) ??? // how do I find this fragment?
How do I accomplish this ?