DJI Mobile SDK Documentation

      class DividerConfig

      @Keep
      class DividerConfig
      Package:dji.open.pilot.base.ui.model
      Description:

      List divider configuration, defining the style of the VERTICAL_LIST_VIEW divider. It is transmitted between the Client and Server via Gson serialization/deserialization.

      Supported since MSDK 5.20.1

      Class Members:
      method
      method getHeight
      int getHeight() 
      Package:dji.open.pilot.base.ui.model
      Description:

      Gets the divider height (dp).

      Supported since MSDK 5.20.1

      Return:
      intThe divider height (dp).
      method
      method setHeight
      void setHeight(int height) 
      Package:dji.open.pilot.base.ui.model
      Description:

      Sets the divider height (dp).

      Supported since MSDK 5.20.1

      Input Parameters:
      int heightThe divider height (dp).
      method
      method getColor
      @NonNull
      String getColor()
      Package:dji.open.pilot.base.ui.model
      Description:

      Gets the divider color.

      Supported since MSDK 5.20.1

      Return:
      StringThe divider color.
      method
      method setColor
      void setColor(@NonNull String color) 
      Package:dji.open.pilot.base.ui.model
      Description:

      Sets the divider color (“#RRGGBB” or “#AARRGGBB” format).

      Supported since MSDK 5.20.1

      Input Parameters:
      @NonNull String colorThe color value.
      method getPaddingLeft
      int getPaddingLeft() 
      Package:dji.open.pilot.base.ui.model
      Description:

      Gets the left indent (dp).

      Supported since MSDK 5.20.1

      Return:
      intThe left indent (dp).
      method setPaddingLeft
      void setPaddingLeft(int paddingLeft) 
      Package:dji.open.pilot.base.ui.model
      Description:

      Sets the left indent (dp).

      Supported since MSDK 5.20.1

      Input Parameters:
      int paddingLeftThe left indent (dp).
      method getPaddingRight
      int getPaddingRight() 
      Package:dji.open.pilot.base.ui.model
      Description:

      Gets the right indent (dp).

      Supported since MSDK 5.20.1

      Return:
      intThe right indent (dp).
      method setPaddingRight
      void setPaddingRight(int paddingRight) 
      Package:dji.open.pilot.base.ui.model
      Description:

      Sets the right indent (dp).

      Supported since MSDK 5.20.1

      Input Parameters:
      int paddingRightThe right indent (dp).
      method isShowLastDivider
      boolean isShowLastDivider() 
      Package:dji.open.pilot.base.ui.model
      Description:

      Gets whether the divider after the last item is shown.

      Supported since MSDK 5.20.1

      Return:
      booleanWhether the divider after the last item is shown.
      method setShowLastDivider
      void setShowLastDivider(boolean showLastDivider) 
      Package:dji.open.pilot.base.ui.model
      Description:

      Sets whether the divider after the last item is shown.

      Supported since MSDK 5.20.1

      Input Parameters:
      boolean showLastDividerWhether to show.