Class ConversationListActivityBuilder
- java.lang.Object
-
- io.smooch.features.conversationlist.ConversationListActivityBuilder
-
public class ConversationListActivityBuilder extends java.lang.Object
This builder is used to configure theConversationListActivityBuilder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description android.content.Intent
intent(android.content.Context context)
Creates anIntent
for theConversationListActivity
with the specified configurationvoid
show(android.content.Context context)
Starts theConversationListActivity
with the specified configurationConversationListActivityBuilder
showCreateConversationButton(boolean createConversation)
Specifies the create conversation boolean used for showing or hiding the create conversation button in the Conversation List Screen.ConversationListActivityBuilder
withFlags(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
- theIntent
flags- 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 theConversationListActivity
with the specified configuration- Parameters:
context
- theContext
from whichContext.startActivity(Intent)
will be invoked
-
intent
public android.content.Intent intent(android.content.Context context)
Creates anIntent
for theConversationListActivity
with the specified configuration- Parameters:
context
- theContext
from whichContext.startActivity(Intent)
will be invoked- Returns:
- the constructed
Intent
-
-