SelectableRoundedImageView.java 文件源码

java
阅读 39 收藏 0 点赞 0 评论 0

项目:IMKBaseFrameworkLibrary 作者:
private Drawable resolveResource() {
    Resources rsrc = getResources();
    if (rsrc == null) {
        return null;
    }

    Drawable d = null;

    if (mResource != 0) {
        try {
            d = rsrc.getDrawable(mResource);
        } catch (NotFoundException e) {
            Log.w(TAG, "Unable to find resource: " + mResource, e);
            // Don't try again.
            mResource = 0;
        }
    }
    return SelectableRoundedCornerDrawable.fromDrawable(d, getResources());
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号