I have a fragment A and a fragment B, when I press a button on A, B will replace A, B will have a animation when move from right to left, the animatiion will last about 300ms.
In fragment B, it will request a http net content (some url of images), then display the images with a gridview.

The problem is when B get the content, the animation is still moving, the render of B will last for a whole and stop the animation, so it looks like the move animation was stopped for a while.

Is there any way we can guarantee that the render of B after the animation, so the animation will looks more smooth?

Related posts

Recent Viewed