Bundle args = new Bundle();
args.putInt(EXTRA_arif, arif);
res.setArguments(args);
return res;
}
<BUG>@Override public void onAttach(Activity activity) {
super.onAttach(activity);
</BUG>
if (getParentFragment() instanceof XrefDialogListener) {
listener = (XrefDialogListener) getParentFragment();

Bundle args = new Bundle();
args.putInt(EXTRA_arif, arif);
res.setArguments(args);
return res;
}
@Override
public void onAttach(final Context context) {
super.onAttach(context);
if (getParentFragment() instanceof XrefDialogListener) {
listener = (XrefDialogListener) getParentFragment();
