Interface DynamicStateSelectedWidget

All Superinterfaces:
BaseWidget, DynamicStateWidget, DynamicWidget
All Known Implementing Classes:
DynamicNavigationView

public interface DynamicStateSelectedWidget extends DynamicStateWidget
Interface to create dynamic widgets with a normal and selected state according to the DynamicTheme.
  • Method Details

    • getStateSelectedColorType

      int getStateSelectedColorType()
      Returns the selected state color type applied to this widget.
      Returns:
      The selected state color type applied to this widget.
      See Also:
    • setStateSelectedColorType

      void setStateSelectedColorType(int stateSelectedColorType)
      Set the selected state color type to this widget.
      Parameters:
      stateSelectedColorType - Normal state color type for this widget.
      See Also:
    • getStateSelectedColor

      @ColorInt int getStateSelectedColor(boolean resolve)
      Returns the value of selected state color applied to this widget.
      Parameters:
      resolve - true to resolve the selected state color.
      Returns:
      The value of selected state color applied to this widget.
    • getStateSelectedColor

      @ColorInt int getStateSelectedColor()
      Returns the value of selected state color applied to this widget.
      Returns:
      The value of selected state color applied to this widget.
    • setStateSelectedColor

      void setStateSelectedColor(@ColorInt int stateSelectedColorColor)
      Set the value of selected state color for this widget.
      Parameters:
      stateSelectedColorColor - Normal state color for this widget.