getBitmap

@Nullable
open fun getBitmap(): @Nullable Bitmap(source)

Retrieves the Bitmap stored in the WeakReference.

This method returns the Bitmap if it's still available (i.e., not garbage collected). If the WeakReference is null or the Bitmap has been garbage collected, this method returns null.

Return

The Bitmap if available, otherwise null.