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

``` 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)
ths same problem on samsug s7
init flutterboost in my application solve it
我也遇到类似问题,临时解决方案也合入了。 我发现有PlatformView时,flutter使用FlutterImageView进行渲染,boost在onPause中将FlutterReneder的isDisplayingFlutterUi属性设为false。推到后台时FlutterJni的onEndFrame触发然后是platformViewsController的onEndFrame方法,该方法内部会执行FlutterView的revertImageView  revertImageView方法中调用了render的addIsDisplayingFlutterUiListener方法。该方法会判断isDisplayingFlutterUi的属性值如果为true会回调listener的onFlutterUiDisplayed方法  listener的回调会执行releaseImageView  但是由于boost在onPause中通过反射更改了改值,造成listener后续不会回调,releaseImageView就不会执行。  flutterImageView就会覆盖在flutterTextureView上方界面就不会相应点击、滑动事件。 不知道分析的对不对,麻烦大家一起看看
@joechan-cq 是的,打开一个新的页面会被带到下一个页面。另外一种情况是如果嵌入的NativeView是视频播放的view,切换后台再切换回来页面由于覆盖了flutterImageView,不会响应事件给用户感觉就是页面卡死。