newIntentFromCustomActivity

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

Return

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

Parameters

context

A Context of the application package implementing this class.

cls

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

type

The creatable channel type. see the CreatableChannelType.


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

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.

type

The creatable channel type. see the CreatableChannelType.

themeResId

the resource identifier for custom theme.