use of com.battlelancer.seriesguide.ui.dialogs.RateDialogFragment in project SeriesGuide by UweTrottmann.
the class MovieDetailsFragment method rateMovie.
private void rateMovie() {
if (TraktCredentials.ensureCredentials(getActivity())) {
RateDialogFragment newFragment = RateDialogFragment.newInstanceMovie(tmdbId);
newFragment.show(getFragmentManager(), "ratedialog");
Utils.trackAction(getActivity(), TAG, "Rate (trakt)");
}
}
use of com.battlelancer.seriesguide.ui.dialogs.RateDialogFragment in project SeriesGuide by UweTrottmann.
the class ShowFragment method rateShow.
private void rateShow() {
if (TraktCredentials.ensureCredentials(getActivity())) {
RateDialogFragment rateDialog = RateDialogFragment.newInstanceShow(getShowTvdbId());
rateDialog.show(getFragmentManager(), "ratedialog");
Utils.trackAction(getActivity(), TAG, "Rate (trakt)");
}
}
Aggregations