facebook / facebook/fresco

DraweeView could not play view animation when it is not shown?

Open
#2,256 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Kotlin
Stars
17.2k
Forks
3.7k
PR merge metrics
No merged PRs in 30d

Description

animation is named slide_top_out
```

```
there is a controllor bar at the top of the window, which should hide with animation, so I written the following code:
```
val anim = AnimationUtils.loadAnimation(context, R.anim.slide_top_out)
topbar.startAnimation(anim)
topbar.visibility = View.GONE
```
When the layout has a SimpleDraweeView, it can not work well,which is like this, left image is load by SimpleDraweeView, right is ImageView

![39nmh-b2moe](https://user-images.githubusercontent.com/7428590/49800848-89d85780-fd83-11e8-9eba-8acc29b9ac1a.gif)

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.