toggle menu
pspdfkit
PSPDFKit
switch theme
search in API
pspdfkit
/
com.pspdfkit.ui
/
PdfThumbnailBar
/
ConvertToDrawable
Convert
To
Drawable
class
ConvertToDrawable
:
Function
<
T
,
R
>
Reactive function that converts a Bitmap to a Drawable with fade effect if needed.
Members
Constructors
Convert
To
Drawable
Link copied to clipboard
constructor
(
@
NonNull
res
:
Resources
,
crossFade
:
Boolean
,
renderStartTime
:
Long
,
@
Nullable
placeholder
:
Drawable
)
Functions
apply
Link copied to clipboard
open
fun
apply
(
@
NonNull
bitmap
:
Bitmap
)
:
Drawable