LibraryActive

Glide v4

Debugging guide for Glide v4, an Android image loading library.

Open source page

Product features

Product features

Built-in Transitions

Glide provides a number of transitions that users can manually apply per request.

Unexpected Cache Misses

Debug cache misses using the Engine log tag.

Default Transition

Glide v4 does not apply a cross fade or any other transition by default.

Disable Hardware Bitmaps

Use disallowHardwareConfig() to disable hardware bitmaps for a specific request.

Enable Hardware Bitmaps

Set ALLOW_HARDWARE_CONFIG option to true to enable hardware bitmaps.

Generated API

Local Logs

Enable logging via adb logcat or IDE for debugging.

Missing Images

Troubleshoot missing images and local logs.

Out of Memory Errors

Handle excessive allocations and memory leaks.

RequestBuilder

Single builder with a single type for loading images.

Request Errors

Log request errors with the Glide tag.

RequestListener

Programmatically track errors and successes with RequestListener.

RequestOptions

Object containing options like centerCrop, placeholder, error, priority.

TransitionOptions

TransitionOptions are used to specify the transitions for a particular request.