newIntentFromCustomActivity

Create an intent for a custom activity. The custom activity must inherit OpenChannelListActivity.

Return

Returns a newly created Intent that can be used to launch the activity. since 3.22.2

Parameters

context

A Context of the application package implementing this class.

cls

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


Create an intent for a custom activity. The custom activity must inherit OpenChannelListActivity.

Return

Returns a newly created Intent that can be used to launch the activity. since 3.22.2

Parameters

context

A Context of the application package implementing this class.

cls

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

themeResId

the resource identifier for custom theme.


Deprecated

Create an intent for a custom activity. The custom activity must inherit OpenChannelListActivity.

Return

Returns a newly created Intent that can be used to launch the activity. since 3.2.0

Deprecated

3.22.2

Use newIntentFromCustomActivity instead.

Parameters

context

A Context of the application package implementing this class.

cls

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

channelUrl

the url of the channel will be implemented.


open fun newIntentFromCustomActivity(@NonNull context: Context, @NonNull cls: Class<out OpenChannelListActivity>, @NonNull channelUrl: String, @StyleRes themeResId: Int): Intent

Deprecated

Create an intent for a custom activity. The custom activity must inherit OpenChannelListActivity.

Return

Returns a newly created Intent that can be used to launch the activity. since 3.5.6

Deprecated

3.22.2

Use newIntentFromCustomActivity instead.

Parameters

context

A Context of the application package implementing this class.

cls

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.