Apply review

Co-Authored-By:  Audric V <74829229+AudricV@users.noreply.github.com>
This commit is contained in:
TobiGr 2023-09-18 15:01:17 +02:00 committed by Stypox
parent 109d06b4bb
commit 57eaa1bbe1
No known key found for this signature in database
GPG key ID: 4BDF1B40A49FDD23
12 changed files with 58 additions and 36 deletions

View file

@ -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),

View file

@ -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.