IntentBuilder

open fun IntentBuilder(@NonNull context: Context, @NonNull channelUrl: String)

Create an intent for a ChannelActivity.

Parameters

context

A Context of the application package implementing this class.

channelUrl

The url of the channel will be implemented. since 2.1.0


open fun IntentBuilder(@NonNull context: Context, @NonNull customClass: Class<out ChannelActivity>, @NonNull channelUrl: String)

Create an intent for a ChannelActivity.

Parameters

context

A Context of the application package implementing this class.

customClass

The activity class that is to be used for the intent.

channelUrl

The url of the channel will be implemented. since 2.1.0


open fun IntentBuilder(@NonNull context: Context, @NonNull customClass: Class<out ChannelActivity>, @NonNull channelUrl: String, @StyleRes themeResId: Int)

Create an intent for a ChannelActivity.

Parameters

context

A Context of the application package implementing this class.

customClass

The activity class that is to be used for the intent.

channelUrl

The url of the channel will be implemented.

themeResId

the resource identifier for custom theme. since 3.5.6