Interface TypeTheme<T extends TypeTheme<T>>

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

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

    Modifier and Type
    Method
    Description
    int
    Get the type value used by this theme.
    int
    getType(boolean resolve)
    Get the type value used by this theme.
    setType(int type)
    Set the type value used by this theme.

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

    isHost, setHost
  • Method Details

    • getType

      int getType(boolean resolve)
      Get the type value used by this theme.
      Parameters:
      resolve - true to resolve theme style.
      Returns:
      The type value used by this theme.
    • getType

      int getType()
      Get the type value used by this theme.
      Returns:
      The type value used by this theme.
    • setType

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