Interface DynamicCornerWidget<T>

Type Parameters:
T - The type of the corner radius.
All Known Implementing Classes:
DynamicBottomNavigationView, DynamicButton, DynamicCardView, DynamicExtendedFloatingActionButton, DynamicFloatingActionButton, DynamicMaterialCardView, DynamicNavigationRailView, DynamicNavigationView, DynamicPopupBackground, DynamicTextInputLayout

public interface DynamicCornerWidget<T>
Interface to create dynamic widgets with corner radius support which can be used to modify it at runtime according to the DynamicTheme.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the corner radius used by this widget.
    void
    setCorner(T cornerSize)
    Set the corner radius for this widget.
  • Method Details

    • getCorner

      @NonNull T getCorner()
      Returns the corner radius used by this widget.
      Returns:
      The corner radius used by this widget.
    • setCorner

      void setCorner(@NonNull T cornerSize)
      Set the corner radius for this widget.
      Parameters:
      cornerSize - The corner radius to be set.