Precondition

interface Precondition

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

Functions

Link copied to clipboard
abstract fun shouldApplyDynamicColors(@NonNull activity: Activity, @StyleRes theme: Int): Boolean
Return true if dynamic colors should be applied on the given activity with the given theme overlay.