Search in sources :

Example 1 with SynopsisDialogFragment

use of butter.droid.ui.media.detail.streamable.dialog.SynopsisDialogFragment in project butter-android by butterproject.

the class EpisodeDialogFragment method readMoreClick.

@OnClick(R.id.synopsis)
public void readMoreClick() {
    if (getFragmentManager().findFragmentByTag("overlay_fragment") != null) {
        return;
    }
    SynopsisDialogFragment dialog = SynopsisDialogFragment.newInstance(episode.getSynopsis());
    dialog.show(getFragmentManager(), "overlay_fragment");
}
Also used : SynopsisDialogFragment(butter.droid.ui.media.detail.streamable.dialog.SynopsisDialogFragment) OnClick(butterknife.OnClick)

Example 2 with SynopsisDialogFragment

use of butter.droid.ui.media.detail.streamable.dialog.SynopsisDialogFragment in project butter-android by butterproject.

the class ShowDetailAboutFragment method openSynopsisDialog.

@Override
public void openSynopsisDialog(String synopsis) {
    // TODO: 3/20/17 Make it nicer (part of SynopsisDialogFragment refactor)
    if (getFragmentManager().findFragmentByTag("overlay_fragment") != null) {
        return;
    }
    SynopsisDialogFragment synopsisDialogFragment = SynopsisDialogFragment.newInstance(synopsis);
    synopsisDialogFragment.show(getFragmentManager(), "overlay_fragment");
}
Also used : SynopsisDialogFragment(butter.droid.ui.media.detail.streamable.dialog.SynopsisDialogFragment)

Aggregations

SynopsisDialogFragment (butter.droid.ui.media.detail.streamable.dialog.SynopsisDialogFragment)2 OnClick (butterknife.OnClick)1