Spark
Toggle table of contents
2.2.1
release
Target filter
release
Switch theme
Search in API
Skip to content
Spark
spark
/
com.adevinta.spark.components.bottomsheet.layout
/
ThresholdConfig
/
computeThreshold
compute
Threshold
abstract
fun
Density
.
computeThreshold
(
fromValue
:
Float
,
toValue
:
Float
)
:
Float
(
source
)
Compute the value of the threshold (in pixels), once the values of the anchors are known.