Interface StringTheme<T extends StringTheme<T>>

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

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

    Modifier and Type
    Method
    Description
    Returns the sharable data for the theme.
    Convert this theme into a pretty JSON string.
    Converts this theme into its JSON equivalent.
    toJsonString(boolean resolve, boolean inverse)
    Converts this theme into its JSON equivalent.

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

    isHost, setHost
  • Method Details

    • toJsonString

      @NonNull String toJsonString(boolean resolve, boolean inverse)
      Converts this theme into its JSON equivalent.
      Parameters:
      resolve - true to resolve the values.
      inverse - true to resolve the inverse values.
      Returns:
      The JSON equivalent of this theme.
    • toJsonString

      @NonNull String toJsonString()
      Converts this theme into its JSON equivalent.
      Returns:
      The JSON equivalent of this theme.
    • toDynamicString

      @NonNull String toDynamicString()
      Convert this theme into a pretty JSON string.
      Returns:
      The converted JSON string.
    • getThemeData

      @NonNull String getThemeData()
      Returns the sharable data for the theme.
      Returns:
      The sharable data for the theme.