Search in sources :

Example 26 with MediaWrapper

use of butter.droid.base.providers.media.model.MediaWrapper in project butter-android by butterproject.

the class StreamableDetailFragment method onViewCreated.

@Override
public void onViewCreated(View view, @Nullable Bundle savedInstanceState) {
    super.onViewCreated(view, savedInstanceState);
    ButterKnife.bind(this, view);
    subtitlesPreview.setOnClickListener(v -> presenter.onSubtitlesClicked());
    MediaWrapper movie = getArguments().getParcelable(EXTRA_MOVIE);
    presenter.onCreate(movie);
}
Also used : MediaWrapper(butter.droid.base.providers.media.model.MediaWrapper)

Aggregations

MediaWrapper (butter.droid.base.providers.media.model.MediaWrapper)26 Bundle (android.os.Bundle)7 Disposable (io.reactivex.disposables.Disposable)6 ProviderManager (butter.droid.base.manager.internal.provider.ProviderManager)4 StreamInfo (butter.droid.base.providers.media.model.StreamInfo)4 Filter (butter.droid.provider.base.filter.Filter)4 Media (butter.droid.provider.base.model.Media)4 Pager (butter.droid.provider.filter.Pager)4 MediaCardItem (butter.droid.tv.presenters.MediaCardPresenter.MediaCardItem)4 Observable (io.reactivex.Observable)4 Single (io.reactivex.Single)4 AndroidSchedulers (io.reactivex.android.schedulers.AndroidSchedulers)4 Schedulers (io.reactivex.schedulers.Schedulers)4 List (java.util.List)4 Nullable (android.support.annotation.Nullable)3 Pair (android.util.Pair)3 SubtitleWrapper (butter.droid.base.providers.subs.model.SubtitleWrapper)3 Clip (butter.droid.provider.base.model.Clip)3 Paging (butter.droid.provider.base.paging.Paging)3 SingleObserver (io.reactivex.SingleObserver)3