pull/194/merge
M66B 3 years ago
parent d0a5e3e1ea
commit 776b447e74

@ -218,7 +218,11 @@ public class FragmentBase extends Fragment {
}
public String getRequestKey() {
return getClass().getName() + ":result";
String we = toString();
int pa = we.indexOf('(');
int sp = we.indexOf(' ', pa);
String who = we.substring(pa + 1, sp);
return getClass().getName() + ":result:" + who;
}
@Override

@ -44,7 +44,11 @@ public class FragmentDialogBase extends DialogFragment {
private int targetRequestCode;
public String getRequestKey() {
return getClass().getName() + ":result";
String we = toString();
int pa = we.indexOf('(');
int sp = we.indexOf(' ', pa);
String who = we.substring(pa + 1, sp);
return getClass().getName() + ":result:" + who;
}
@Override

Loading…
Cancel
Save