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 getHeight
Package: dji.open.pilot.base.ui.model
Description:
Gets the divider height (dp). Supported since MSDK 5.20.1
Return:
int The divider height (dp).
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
int height The divider height (dp).
method getColor
@NonNull String getColor ()
Package: dji.open.pilot.base.ui.model
Description:
Gets the divider color. Supported since MSDK 5.20.1
Return:
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
@NonNull String color The color value.
method getPaddingLeft
Package: dji.open.pilot.base.ui.model
Description:
Gets the left indent (dp). Supported since MSDK 5.20.1
Return:
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
int paddingLeft The left indent (dp).
method getPaddingRight
Package: dji.open.pilot.base.ui.model
Description:
Gets the right indent (dp). Supported since MSDK 5.20.1
Return:
int The 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
int paddingRight The 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:
boolean Whether 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
boolean showLastDivider Whether to show.