[英]Unable to Load High Resolution Images
Having an issue regarding the use of highresolutionimages in my fragments . 关于在我的片段中使用高分辨率图像的问题。
I've got 2 sets of fragments , the first having 4 fragments and the next set having 6 fragments .Having a button in the first set of the fragments which when clicked redirects to the second set of fragments . 我有2台的片段 ,第一具有4个片段和具有6个下一组片段在第一组的.Having按钮片段点击它重定向到第二组时的片段 。
Used the BitmapFactoryOptions to load the images.Works fine for the first set of fragments , But not working with second set.The ShuttingDownVM
Error occurs... 使用BitmapFactoryOptions加载图像。对于第一组片段效果很好,但不适用于第二组片段 。出现
ShuttingDownVM
错误...
any help would be grateful.. 任何帮助将不胜感激..
thanks in advance :D 提前致谢
This doesn't directly answer your question but it may alleviate your problems as many other companies and tools have solved image problems in Android for you. 这并不能直接回答您的问题,但是可以缓解您的问题,因为许多其他公司和工具已经为您解决了Android中的图像问题。
You may want to check out an image library like ion (which has deep zoom support for large images) or Picasso 你可能想看看图像库一样离子 (这对于大的图像深度缩放支持)或毕加索
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.