Let’s start with a simple grid of images.

Optimize crypto dataset operations with database knowledge and collaboration.
Post Reply
rakibhasanbd4723
Posts: 23
Joined: Mon Dec 23, 2024 3:42 am

Let’s start with a simple grid of images.

Post by rakibhasanbd4723 »

it opens a new Activity with the image cropped to fill the whole screen. Images are loaded by a simple Glide call:

Now our image is loaded before the transition, but we have this weird glitch at the beginning of Enter Transition and at the end of Exit Transition. We will handle this next.

NEED A SUCCESSFUL TEAM?
We’re 100% office based team with 7-years’ experience
in mobile & web app development

Estimate project
Step#3: Disable transformations
We have this glitch because Glide bulk mobile database tries to optimize image loading. By default, Glide is resizing and trimming images to match the target view. But Android transition framework at transition beginning takes the image from destination view and tries to transform it into the image from source view. We can tell Glide not to optimize images this way:
Post Reply