Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class LineUpDetailDialog extends DialogFragment {
- public interface DetailDialogListener {
- void onConcertInCustomLineUpChanged(int wpId);
- void onDismiss();
- }
- @Override
- public Dialog onCreateDialog(Bundle savedInstanceState) {
- parentFragment = getArguments().getString(bundleParentFragmentKey);
- try {
- Fragment fragment = activity.getSupportFragmentManager().findFragmentByTag(parentFragment);
- listener = (DetailDialogListener) fragment;
- }catch (Exception e){
- Crashlytics.logException(e);
- }
- }
- }
- // --------------------------------------------------
- public class PageLineUp extends LoadingFragment implements LineUpDetailDialog.DetailDialogListener{¨
- ...
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement