Class 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 a Configuration for the passed in configuration options.
      Intent intent(Context context, Configuration... configurations)
      Create an Intent to start the RequestListActivity with the specified configuration options.
      Intent intent(Context context, java.util.List<Configuration> configurations)
      Create an Intent to start the RequestListActivity with the specified configuration options.
      void show(Context context, Configuration... configurations)
      Show the RequestListActivity with the specified configuration options.
      void show(Context context, java.util.List<Configuration> configurations)
      Show the RequestListActivity with the specified configuration options.
      RequestListConfiguration.Builder withContactUsButtonVisible(boolean showContactUsButton)
      Define whether or not to display the "ContactUs" Floating Action Button.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Builder

        public Builder()
    • 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 the RequestListActivity with the specified configuration options.
        Parameters:
        context - The context which startActivity will be invoked on
        configurations - Configurations for screens that can be started from RequestListActivity.
      • show

        public void show(Context context,
                         java.util.List<Configuration> configurations)
        Show the RequestListActivity with the specified configuration options.
        Parameters:
        context - The context which startActivity will be invoked on
        configurations - Configurations for screens that can be started from RequestListActivity.
      • intent

        public Intent intent(Context context,
                             Configuration... configurations)
        Create an Intent to start the RequestListActivity with the specified configuration options.
        Parameters:
        context - The context which startActivity will be invoked on
        configurations - Configurations for screens that can be started from RequestListActivity.
        Returns:
        An Intent for RequestListActivity with the specified configuration options
      • intent

        public Intent intent(Context context,
                             java.util.List<Configuration> configurations)
        Create an Intent to start the RequestListActivity with the specified configuration options.
        Parameters:
        context - The context which startActivity will be invoked on
        configurations - Configurations for screens that can be started from RequestListActivity.
        Returns:
        An Intent for RequestListActivity with the specified configuration options
      • config

        public Configuration config()
        Create a Configuration for the passed in configuration options.