Closed XuQK closed 4 years ago
ViewPager中RecyclerView列表,里面的图片,点击image_1调用iwHelper.show()方法显示大图,然后退出大图后,ViewPager跳到非相邻的页面,比如在fragment_1里浏览的大图,然后跳到fragment_3,再跳回fragment_1,此时之前浏览的列表中的image_1变成空白了,需要切到后台再切回来,或者上下滑动滑出列表再滑回来才显示。这可能是为什么呢? 我是用Fresco加载的图片,写法照抄您的demo
image_1
iwHelper.show()
fragment_1
fragment_3
问题可能同 https://github.com/iielse/ImageViewer/issues/61
ViewPager中RecyclerView列表,里面的图片,点击
image_1
调用iwHelper.show()
方法显示大图,然后退出大图后,ViewPager跳到非相邻的页面,比如在fragment_1
里浏览的大图,然后跳到fragment_3
,再跳回fragment_1
,此时之前浏览的列表中的image_1
变成空白了,需要切到后台再切回来,或者上下滑动滑出列表再滑回来才显示。这可能是为什么呢? 我是用Fresco加载的图片,写法照抄您的demo