Class ConversationListActivityBuilder
- java.lang.Object
-
- io.smooch.features.conversationlist.ConversationListActivityBuilder
-
public class ConversationListActivityBuilder extends java.lang.ObjectThis builder is used to configure theConversationListActivityBuilder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description android.content.Intentintent(android.content.Context context)Creates anIntentfor theConversationListActivitywith the specified configurationvoidshow(android.content.Context context)Starts theConversationListActivitywith the specified configurationConversationListActivityBuildershowCreateConversationButton(boolean createConversation)Specifies the create conversation boolean used for showing or hiding the create conversation button in the Conversation List Screen.ConversationListActivityBuilderwithFlags(int flags)Specifies the intent flags for the conversation list activity
-
-
-
Method Detail
-
withFlags
public ConversationListActivityBuilder withFlags(int flags)
Specifies the intent flags for the conversation list activity- Parameters:
flags- theIntentflags- Returns:
- the
ConversationListActivityBuilder
-
showCreateConversationButton
public ConversationListActivityBuilder showCreateConversationButton(boolean createConversation)
Specifies the create conversation boolean used for showing or hiding the create conversation button in the Conversation List Screen.- Parameters:
createConversation- the create conversation boolean used for showing or hiding the create conversation button- Returns:
- the
ConversationListActivityBuilder
-
show
public void show(android.content.Context context)
Starts theConversationListActivitywith the specified configuration- Parameters:
context- theContextfrom whichContext.startActivity(Intent)will be invoked
-
intent
public android.content.Intent intent(android.content.Context context)
Creates anIntentfor theConversationListActivitywith the specified configuration- Parameters:
context- theContextfrom whichContext.startActivity(Intent)will be invoked- Returns:
- the constructed
Intent
-
-