Package zendesk.support.requestlist
Class RequestListConfiguration.Builder
- java.lang.Object
-
- zendesk.support.requestlist.RequestListConfiguration.Builder
-
- Enclosing class:
- RequestListConfiguration
public static class RequestListConfiguration.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description Configurationconfig()Create aConfigurationfor the passed in configuration options.Intentintent(Context context, Configuration... configurations)Create anIntentto start theRequestListActivitywith the specified configuration options.Intentintent(Context context, java.util.List<Configuration> configurations)Create anIntentto start theRequestListActivitywith the specified configuration options.voidshow(Context context, Configuration... configurations)Show theRequestListActivitywith the specified configuration options.voidshow(Context context, java.util.List<Configuration> configurations)Show theRequestListActivitywith the specified configuration options.RequestListConfiguration.BuilderwithContactUsButtonVisible(boolean showContactUsButton)Define whether or not to display the "ContactUs" Floating Action Button.
-
-
-
Method Detail
-
withContactUsButtonVisible
public RequestListConfiguration.Builder withContactUsButtonVisible(boolean showContactUsButton)
Define whether or not to display the "ContactUs" Floating Action Button.- Parameters:
showContactUsButton- Boolean value to determine whether the contact button is visible- Returns:
- The Builder
-
show
public void show(Context context, Configuration... configurations)Show theRequestListActivitywith the specified configuration options.- Parameters:
context- The context whichstartActivitywill be invoked onconfigurations- Configurations for screens that can be started from RequestListActivity.
-
show
public void show(Context context, java.util.List<Configuration> configurations)Show theRequestListActivitywith the specified configuration options.- Parameters:
context- The context whichstartActivitywill be invoked onconfigurations- Configurations for screens that can be started from RequestListActivity.
-
intent
public Intent intent(Context context, Configuration... configurations)Create anIntentto start theRequestListActivitywith the specified configuration options.- Parameters:
context- The context whichstartActivitywill be invoked onconfigurations- Configurations for screens that can be started from RequestListActivity.- Returns:
- An
IntentforRequestListActivitywith the specified configuration options
-
intent
public Intent intent(Context context, java.util.List<Configuration> configurations)Create anIntentto start theRequestListActivitywith the specified configuration options.- Parameters:
context- The context whichstartActivitywill be invoked onconfigurations- Configurations for screens that can be started from RequestListActivity.- Returns:
- An
IntentforRequestListActivitywith the specified configuration options
-
config
public Configuration config()
Create aConfigurationfor the passed in configuration options.
-
-