coderloveryan

Results 9 comments of coderloveryan

The device model is Galaxy s9+,be thanks for your response.

![image](https://user-images.githubusercontent.com/10841769/55941671-429c9d80-5c75-11e9-83ad-0b5a93752356.png)

``` public class UplusRefreshHeader extends LinearLayout implements RefreshHeader { private GifImageView gifImageView; private GifDrawable gifDrawable; private TextView tvRefresh; protected Context context; private boolean isSuccess = true; private RefreshType refreshType =...

I custom a refresh footer use https://github.com/scwang90/SmartRefreshLayout and then in one search page of app, it's no data and wait a few minutes, the device crash. here is the code...

[gif.zip](https://github.com/koral--/android-gif-drawable/files/3071220/gif.zip)

我也遇到类似问题,临时解决方案也合入了。 我发现有PlatformView时,flutter使用FlutterImageView进行渲染,boost在onPause中将FlutterReneder的isDisplayingFlutterUi属性设为false。推到后台时FlutterJni的onEndFrame触发然后是platformViewsController的onEndFrame方法,该方法内部会执行FlutterView的revertImageView ![PrYzFMYoHi](https://github.com/alibaba/flutter_boost/assets/10841769/a7b56674-507a-4bf7-b831-494df53be30e) revertImageView方法中调用了render的addIsDisplayingFlutterUiListener方法。该方法会判断isDisplayingFlutterUi的属性值如果为true会回调listener的onFlutterUiDisplayed方法 ![N94ibp1NeO](https://github.com/alibaba/flutter_boost/assets/10841769/0b6daf90-68bf-444a-bdf0-599284eb6d3b) listener的回调会执行releaseImageView ![yFDpi9mfrZ](https://github.com/alibaba/flutter_boost/assets/10841769/9f51efd5-8077-4cfa-beb5-3ac1369480b5) 但是由于boost在onPause中通过反射更改了改值,造成listener后续不会回调,releaseImageView就不会执行。 ![tnXILcDFtZ](https://github.com/alibaba/flutter_boost/assets/10841769/d2cb3741-0b7b-4ee4-ba05-e989be84f7ce) flutterImageView就会覆盖在flutterTextureView上方界面就不会相应点击、滑动事件。 不知道分析的对不对,麻烦大家一起看看

@joechan-cq 是的,打开一个新的页面会被带到下一个页面。另外一种情况是如果嵌入的NativeView是视频播放的view,切换后台再切换回来页面由于覆盖了flutterImageView,不会响应事件给用户感觉就是页面卡死。