Intent Builder
open fun IntentBuilder(@NonNull context: Context, @NonNull channelUrl: String, @NonNull parentMessage: BaseMessage)
Create an intent for a MessageThreadActivity.
Parameters
context
A Context of the application package implementing this class.
channel Url
The url of the channel will be implemented.
parent Message
The parent message of thread. since 3.3.0
open fun IntentBuilder(@NonNull context: Context, @NonNull customClass: Class<out MessageThreadActivity>, @NonNull channelUrl: String, @NonNull parentMessage: BaseMessage)
Create an intent for a MessageThreadActivity.
Parameters
context
A Context of the application package implementing this class.
custom Class
The activity class that is to be used for the intent.
channel Url
The url of the channel will be implemented.
parent Message
The parent message of thread. since 3.3.0
open fun IntentBuilder(@NonNull context: Context, @NonNull customClass: Class<out MessageThreadActivity>, @NonNull channelUrl: String, @NonNull parentMessage: BaseMessage, @StyleRes themeResId: Int)
Create an intent for a ChannelActivity.
Parameters
context
A Context of the application package implementing this class.
custom Class
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. since 3.5.6