Interface FallbackTheme<T extends FallbackTheme<T>>

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

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

    Modifier and Type
    Method
    Description
    getThemeFallback(boolean resolve)
    Returns the fallback dynamic theme to resolve the runtime values like auto color.
  • Method Details

    • getThemeFallback

      @NonNull T getThemeFallback(boolean resolve)
      Returns the fallback dynamic theme to resolve the runtime values like auto color.
      Parameters:
      resolve - true to resolve the current theme, otherwise return the default theme.
      Returns:
      The fallback dynamic theme to resolve the runtime values.