toggle menu
coil-root
3.1.0-SNAPSHOT
common
switch theme
search in API
coil-core
/
coil3.request
/
ImageRequest
/
Builder
/
target
target
inline
fun
target
(
crossinline
onStart
:
(
placeholder
:
Image
?
)
->
Unit
=
{}
,
crossinline
onError
:
(
error
:
Image
?
)
->
Unit
=
{}
,
crossinline
onSuccess
:
(
result
:
Image
)
->
Unit
=
{}
)
:
ImageRequest.Builder
Convenience function to create and set the
Target
.
fun
target
(
target
:
Target
?
)
:
ImageRequest.Builder
Set the
Target
.