Search in sources :

Example 1 with SubsPickerDialog

use of butter.droid.ui.media.detail.dialog.subs.SubsPickerDialog in project butter-android by butterproject.

the class EpisodeDialogFragment method showSubsPickerDialog.

private void showSubsPickerDialog() {
    SubsPickerDialog dialog = SubsPickerDialog.newInstance(subtitleList);
    dialog.show(getChildFragmentManager(), "dialog");
    subsDialog = dialog;
}
Also used : SubsPickerDialog(butter.droid.ui.media.detail.dialog.subs.SubsPickerDialog)

Example 2 with SubsPickerDialog

use of butter.droid.ui.media.detail.dialog.subs.SubsPickerDialog in project butter-android by butterproject.

the class StreamableDetailFragment method displaySubsPicker.

@Override
public void displaySubsPicker(List<UiSubItem> items) {
    hideDialog();
    SubsPickerDialog dialog = SubsPickerDialog.newInstance(items);
    dialog.show(getChildFragmentManager(), "dialog");
    subsDialog = dialog;
}
Also used : SubsPickerDialog(butter.droid.ui.media.detail.dialog.subs.SubsPickerDialog)

Example 3 with SubsPickerDialog

use of butter.droid.ui.media.detail.dialog.subs.SubsPickerDialog in project butter-android by butterproject.

the class StreamableDetailFragment method hideDialog.

@Override
public void hideDialog() {
    SubsPickerDialog dialog = subsDialog;
    if (dialog != null) {
        dialog.dismiss();
        subsDialog = null;
    }
}
Also used : SubsPickerDialog(butter.droid.ui.media.detail.dialog.subs.SubsPickerDialog)

Aggregations

SubsPickerDialog (butter.droid.ui.media.detail.dialog.subs.SubsPickerDialog)3