sheets
core
/
com.maxkeppeler.sheets.core.utils
/
getDp
get
Dp
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP
]
)
fun
Int
.
getDp
(
)
:
Float
Content copied to clipboard
Converts px as Int to dp as Float.
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP
]
)
fun
Float
.
getDp
(
)
:
Int
Content copied to clipboard
Converts px as Float to dp as Int.