bumptech / bumptech/glide

Make DrawableCrossFadeTransition#duration public

Open
#5,123 0 comments 0 reactions 0 assignees View on GitHub
Compose feature
Dominant language
Java
Stars
35k
Forks
6.2k
Avg merge
1d 11h
Merged PRs (30d)
8

Description

**Glide Version**: 4.15.1

**Use case background**:
I'm building a zoomable image viewer library that accepts a `RequestBuilder` so that developers can set parameters of an image using Glide's familiar APIs. For switching from a placeholder/thumbnail to a full-quality image, I'd like to cross-fade them by checking if a `DrawableCrossFadeTransition` is received in `Target#onResourceReady()`.

Can `DrawableCrossFadeTransition` expose its duration as a public property in some way? Coil does the same and it's very convenient.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.