Search in sources :

Example 1 with PlayqueueDialog

use of io.hefuyi.listener.ui.dialogs.PlayqueueDialog in project ListenerMusicPlayer by hefuyicoder.

the class QuickControlsFragment method onPlayQueueClick.

@OnClick(R.id.ic_play_queue)
public void onPlayQueueClick() {
    FragmentManager fm = getActivity().getSupportFragmentManager();
    if (bottomDialogFragment == null) {
        bottomDialogFragment = new PlayqueueDialog();
    }
    bottomDialogFragment.show(fm, "fragment_bottom_dialog");
    if (mSwatch != null) {
        bottomDialogFragment.setPaletteSwatch(mSwatch);
    }
}
Also used : FragmentManager(android.support.v4.app.FragmentManager) PlayqueueDialog(io.hefuyi.listener.ui.dialogs.PlayqueueDialog) OnClick(butterknife.OnClick)

Aggregations

FragmentManager (android.support.v4.app.FragmentManager)1 OnClick (butterknife.OnClick)1 PlayqueueDialog (io.hefuyi.listener.ui.dialogs.PlayqueueDialog)1