This site requires javascript.
Android Code Search
file:androidx/compose/foundation/PreferKeepClear.android.kt function:preferKeepClear
search
close
info_outline
more_vert
Result 1 of 1
content_copy
Search Result Root
androidx/platform/frameworks/support
keyboard_arrow_right
Branch
Branch
androidx-main
keyboard_arrow_right
Search Result Path
compose/foundation/foundation/src/androidMain/kotlin/androidx/compose/foundation/
PreferKeepClear.android.kt
content_copy
Preview
36:
37:
38:
*/
fun
Modifier.
preferKeepClear
() =
if
(Build.VERSION.SDK_INT < Build.VERSION_CODES.TIRAMISU) {
54:
55:
56:
*/
fun
Modifier.
preferKeepClear
(rectProvider: (LayoutCoordinates) -> Rect) =
if
(Build.VERSION.SDK_INT < Build.VERSION_CODES.TIRAMISU) {
63:
64:
65:
@RequiresApi(Build.VERSION_CODES.TIRAMISU)
private
inline
fun
preferKeepClear
T(
noinline
rect: ((LayoutCoordinates) -> Rect)?): Modifier =
PreferKeepClearElement(rect)
chevron_left
1
chevron_right
Results per page
10
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Got it
Help
Open branch androidx-main