File tree Expand file tree Collapse file tree
app/src/main/java/org/schabi/newpipe Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ public void selected(final StreamInfoItem selectedItem) {
261261
262262 @ Override
263263 public void held (final StreamInfoItem selectedItem ) {
264- showStreamDialog (selectedItem );
264+ showInfoItemDialog (selectedItem );
265265 }
266266 });
267267
@@ -402,7 +402,7 @@ protected void onScrollToBottom() {
402402 }
403403 }
404404
405- protected void showStreamDialog (final StreamInfoItem item ) {
405+ protected void showInfoItemDialog (final StreamInfoItem item ) {
406406 final Context context = getContext ();
407407 final Activity activity = getActivity ();
408408 if (context == null || context .getResources () == null || activity == null ) {
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ private PlayQueue getPlayQueueStartingAt(final StreamInfoItem infoItem) {
135135 }
136136
137137 @ Override
138- protected void showStreamDialog (final StreamInfoItem item ) {
138+ protected void showInfoItemDialog (final StreamInfoItem item ) {
139139 final Context context = getContext ();
140140 final Activity activity = getActivity ();
141141 if (context == null || context .getResources () == null || activity == null ) {
Original file line number Diff line number Diff line change @@ -352,7 +352,7 @@ class FeedFragment : BaseStateFragment<FeedState>() {
352352 feedBinding.loadingProgressBar.max = progressState.maxProgress
353353 }
354354
355- private fun showStreamDialog (item : StreamInfoItem ) {
355+ private fun showInfoItemDialog (item : StreamInfoItem ) {
356356 val context = context
357357 val activity: Activity ? = getActivity()
358358 if (context == null || context.resources == null || activity == null ) return
@@ -373,7 +373,7 @@ class FeedFragment : BaseStateFragment<FeedState>() {
373373
374374 override fun onItemLongClick (item : Item <* >, view : View ): Boolean {
375375 if (item is StreamItem && ! isRefreshing) {
376- showStreamDialog (item.streamWithState.stream.toStreamInfoItem())
376+ showInfoItemDialog (item.streamWithState.stream.toStreamInfoItem())
377377 return true
378378 }
379379 return false
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ public void selected(final LocalItem selectedItem) {
150150 @ Override
151151 public void held (final LocalItem selectedItem ) {
152152 if (selectedItem instanceof StreamStatisticsEntry ) {
153- showStreamDialog ((StreamStatisticsEntry ) selectedItem );
153+ showInfoItemDialog ((StreamStatisticsEntry ) selectedItem );
154154 }
155155 }
156156 });
@@ -324,7 +324,7 @@ private PlayQueue getPlayQueueStartingAt(final StreamStatisticsEntry infoItem) {
324324 return getPlayQueue (Math .max (itemListAdapter .getItemsList ().indexOf (infoItem ), 0 ));
325325 }
326326
327- private void showStreamDialog (final StreamStatisticsEntry item ) {
327+ private void showInfoItemDialog (final StreamStatisticsEntry item ) {
328328 final Context context = getContext ();
329329 final Activity activity = getActivity ();
330330 if (context == null || context .getResources () == null || activity == null ) {
Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ public void selected(final LocalItem selectedItem) {
178178 @ Override
179179 public void held (final LocalItem selectedItem ) {
180180 if (selectedItem instanceof PlaylistStreamEntry ) {
181- showStreamItemDialog ((PlaylistStreamEntry ) selectedItem );
181+ showInfoItemDialog ((PlaylistStreamEntry ) selectedItem );
182182 }
183183 }
184184
@@ -739,7 +739,7 @@ private PlayQueue getPlayQueueStartingAt(final PlaylistStreamEntry infoItem) {
739739 return getPlayQueue (Math .max (itemListAdapter .getItemsList ().indexOf (infoItem ), 0 ));
740740 }
741741
742- protected void showStreamItemDialog (final PlaylistStreamEntry item ) {
742+ protected void showInfoItemDialog (final PlaylistStreamEntry item ) {
743743 final Context context = getContext ();
744744 final Activity activity = getActivity ();
745745 if (context == null || context .getResources () == null || activity == null ) {
You can’t perform that action at this time.
0 commit comments