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 Configuration
config()
Create aConfiguration
for the passed in configuration options.Intent
intent(Context context, Configuration... configurations)
Create anIntent
to start theRequestListActivity
with the specified configuration options.Intent
intent(Context context, java.util.List<Configuration> configurations)
Create anIntent
to start theRequestListActivity
with the specified configuration options.void
show(Context context, Configuration... configurations)
Show theRequestListActivity
with the specified configuration options.void
show(Context context, java.util.List<Configuration> configurations)
Show theRequestListActivity
with the specified configuration options.RequestListConfiguration.Builder
withContactUsButtonVisible(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 theRequestListActivity
with the specified configuration options.- Parameters:
context
- The context whichstartActivity
will be invoked onconfigurations
- Configurations for screens that can be started from RequestListActivity.
-
show
public void show(Context context, java.util.List<Configuration> configurations)
Show theRequestListActivity
with the specified configuration options.- Parameters:
context
- The context whichstartActivity
will be invoked onconfigurations
- Configurations for screens that can be started from RequestListActivity.
-
intent
public Intent intent(Context context, Configuration... configurations)
Create anIntent
to start theRequestListActivity
with the specified configuration options.- Parameters:
context
- The context whichstartActivity
will be invoked onconfigurations
- Configurations for screens that can be started from RequestListActivity.- Returns:
- An
Intent
forRequestListActivity
with the specified configuration options
-
intent
public Intent intent(Context context, java.util.List<Configuration> configurations)
Create anIntent
to start theRequestListActivity
with the specified configuration options.- Parameters:
context
- The context whichstartActivity
will be invoked onconfigurations
- Configurations for screens that can be started from RequestListActivity.- Returns:
- An
Intent
forRequestListActivity
with the specified configuration options
-
config
public Configuration config()
Create aConfiguration
for the passed in configuration options.
-
-