Interface DynamicScrollableWidget

All Superinterfaces:
BaseWidget, DynamicWidget
All Known Implementing Classes:
DynamicGridView, DynamicHorizontalScrollView, DynamicListView, DynamicNavigationView, DynamicNestedGridView, DynamicNestedListView, DynamicNestedScrollView, DynamicRecyclerView, DynamicScrollView

public interface DynamicScrollableWidget extends DynamicWidget
Interface to create dynamic widgets with a scroll bar according to the DynamicTheme.
  • Method Details

    • getScrollBarColorType

      int getScrollBarColorType()
      Returns the scroll bar color type applied to this widget.
      Returns:
      The scroll bar color type applied to this widget.
      See Also:
    • setScrollBarColorType

      void setScrollBarColorType(int scrollBarColorType)
      Set the scroll bar color type to this widget.
      Parameters:
      scrollBarColorType - Scroll bar color type for this widget.
      See Also:
    • getScrollBarColor

      @ColorInt int getScrollBarColor(boolean resolve)
      Returns the value of scroll bar color applied to this widget.
      Parameters:
      resolve - true to resolve the applied scroll bar color.
      Returns:
      The value of scroll bar color applied to this widget.
    • getScrollBarColor

      @ColorInt int getScrollBarColor()
      Returns the value of scroll bar color applied to this widget.
      Returns:
      The value of scroll bar color applied to this widget.
    • setScrollBarColor

      void setScrollBarColor(@ColorInt int scrollBarColor)
      Set the value of scroll bar color for this widget.
      Parameters:
      scrollBarColor - Scroll bar color for this widget.
    • setScrollBarColor

      void setScrollBarColor()
      Set scroll bar color for this widget according to the supplied values.
    • setScrollableWidgetColor

      void setScrollableWidgetColor(boolean setScrollBarColor)
      Set color and scroll bar color for this widget at once.
      Parameters:
      setScrollBarColor - true to set the scroll bar color also.