Apply review
Co-Authored-By: Audric V <74829229+AudricV@users.noreply.github.com>
This commit is contained in:
parent
109d06b4bb
commit
57eaa1bbe1
12 changed files with 58 additions and 36 deletions
|
|
@ -135,10 +135,10 @@ public final class ExtractorHelper {
|
|||
ChannelTabInfo.getInfo(NewPipe.getService(serviceId), listLinkHandler)));
|
||||
}
|
||||
|
||||
public static Single<InfoItemsPage<InfoItem>> getMoreChannelTabItems(final int serviceId,
|
||||
final ListLinkHandler
|
||||
listLinkHandler,
|
||||
final Page nextPage) {
|
||||
public static Single<InfoItemsPage<InfoItem>> getMoreChannelTabItems(
|
||||
final int serviceId,
|
||||
final ListLinkHandler listLinkHandler,
|
||||
final Page nextPage) {
|
||||
checkServiceId(serviceId);
|
||||
return Single.fromCallable(() ->
|
||||
ChannelTabInfo.getMoreItems(NewPipe.getService(serviceId),
|
||||
|
|
|
|||
|
|
@ -22,13 +22,13 @@ public final class PlayButtonHelper {
|
|||
}
|
||||
|
||||
/**
|
||||
* <p>Initialize {@link android.view.View.OnClickListener OnClickListener}
|
||||
* Initialize {@link android.view.View.OnClickListener OnClickListener}
|
||||
* and {@link android.view.View.OnLongClickListener OnLongClickListener} for playlist control
|
||||
* buttons defined in {@code R.layout.playlist_control}.</p>
|
||||
* buttons defined in {@link R.layout#playlist_control}.
|
||||
*
|
||||
* @param activity The activity to use for the {@link android.widget.Toast Toast}.
|
||||
* @param playlistControlBinding The binding of the
|
||||
* {@link R.layout.playlist_control playlist control layout}.
|
||||
* {@link R.layout#playlist_control playlist control layout}.
|
||||
* @param fragment The fragment to get the play queue from.
|
||||
*/
|
||||
public static void initPlaylistControlClickListener(
|
||||
|
|
@ -61,7 +61,7 @@ public final class PlayButtonHelper {
|
|||
}
|
||||
|
||||
/**
|
||||
* <p>Show the "hold to append" toast if the corresponding preference is enabled.</p>
|
||||
* Show the "hold to append" toast if the corresponding preference is enabled.
|
||||
*
|
||||
* @param context The context to show the toast.
|
||||
*/
|
||||
|
|
@ -73,7 +73,7 @@ public final class PlayButtonHelper {
|
|||
}
|
||||
|
||||
/**
|
||||
* <p>Check if the "hold to append" toast should be shown.</p>
|
||||
* Check if the "hold to append" toast should be shown.
|
||||
*
|
||||
* <p>
|
||||
* The tip is shown if the corresponding preference is enabled.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue