DynamicColors.Precondition

public interface DynamicColors.Precondition


The interface that provides a precondition to decide if dynamic colors should be applied.

Summary

Public methods

abstract boolean
shouldApplyDynamicColors(Activity activity, int theme)

Return true if dynamic colors should be applied on the given activity with the given theme overlay.

Public methods

shouldApplyDynamicColors

abstract boolean shouldApplyDynamicColors(Activity activity, int theme)

Return true if dynamic colors should be applied on the given activity with the given theme overlay.