ImageView 获取比较资源

来源:互联网 发布:2017计算机二c语言题库 编辑:程序博客网 时间:2024/06/03 18:10
imageView.getBackground().getCurrent().getConstantState().equals(ContextCompat.getDrawable(getContext(), R.drawable.XXXXX).getConstantState())

原创粉丝点击