Interface StyleTheme<T extends StyleTheme<T>>

Type Parameters:
T - The type of the dynamic theme.
All Superinterfaces:
BaseTheme<T>
All Known Implementing Classes:
AppTheme, AppWidgetTheme

public interface StyleTheme<T extends StyleTheme<T>> extends BaseTheme<T>
A BaseTheme to implement the style theme.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Get the style value used by this theme.
    setStyle(int style)
    Set the style value used by this theme.

    Methods inherited from interface com.pranavpandey.android.dynamic.theme.base.BaseTheme

    isHost, setHost
  • Method Details

    • getStyle

      int getStyle()
      Get the style value used by this theme.
      Returns:
      The style value used by this theme.
    • setStyle

      @NonNull T setStyle(int style)
      Set the style value used by this theme.
      Parameters:
      style - The style value to be set.
      Returns:
      The StyleTheme object to allow for chaining of calls to set methods.