new Intent From Custom Activity
open fun newIntentFromCustomActivity(@NonNull context: Context, @NonNull cls: Class<out ChannelSettingsActivity>, @NonNull channelUrl: String): Intent
Create an intent for a custom activity. The custom activity must inherit ChannelSettingsActivity.
Return
Returns a newly created Intent that can be used to launch the activity. since 1.1.2
Parameters
context
A Context of the application package implementing this class.
cls
The activity class that is to be used for the intent.
channel Url
the url of the channel will be implemented.
open fun newIntentFromCustomActivity(@NonNull context: Context, @NonNull cls: Class<out ChannelSettingsActivity>, @NonNull channelUrl: String, @StyleRes themeResId: Int): Intent
Create an intent for a custom activity. The custom activity must inherit ChannelSettingsActivity.
Return
Returns a newly created Intent that can be used to launch the activity. since 3.5.6
Parameters
context
A Context of the application package implementing this class.
cls
The activity class that is to be used for the intent.
channel Url
the url of the channel will be implemented.
theme Res Id
the resource identifier for custom theme.