SESL Material
Toggle table of contents
1.12.0+1.0.31-sesl8+rev0
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
SESL Material
SESL Material
/
com.google.android.material.color
/
DynamicColors
/
Precondition
Precondition
interface
Precondition
The interface that provides a precondition to decide if dynamic colors should be applied.
Members
Functions
should
Apply
Dynamic
Colors
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.