Improved documentation

This commit is contained in:
litetex 2021-10-15 20:16:34 +02:00
parent afc8db8f81
commit 2271ea4281
2 changed files with 12 additions and 5 deletions

View file

@ -491,11 +491,15 @@ public final class NavigationHelper {
context.startActivity(intent);
}
/////////////////////////////////////////////////////
// PlayQueueActivity doesn't use fragments so the //
// openChannelFragment method can't be used //
// since that uses FragmentManager transactions. //
/////////////////////////////////////////////////////
/**
* Opens {@link ChannelFragment}.
* Use this instead of {@link #openChannelFragment(FragmentManager, int, String, String)}
* when no fragments are used / no FragmentManager is available.
* @param context
* @param serviceId
* @param url
* @param title
*/
public static void openChannelFragmentUsingIntent(final Context context,
final int serviceId,
final String url,