@Override
protected void thenDoUiRelatedWork(SVG svg)
{
if (svg != null)
{
try
{
imageView.setImageDrawable(new PictureDrawable(svg.renderToPicture()));
svgCache.put(imageName, svg);
}
catch (NullPointerException e)
{
//renderToPicture() sometimes throws NPE.
Timber.e("SVG Error", e);
e.printStackTrace();
}
}
currentlyRetrieving.remove(imageView);
}
IconPickerItem.java 文件源码
java
阅读 27
收藏 0
点赞 0
评论 0
项目:PebbleNotificationCenter-Android
作者:
评论列表
文章目录