标签:context div dex etc ack gen final source round
String imageName = "index_fragmen"+getColor(); final int resId = context.getResources().getIdentifier(imageName, "drawable", context.getPackageName()); if (resId != 0) { Log.e("mytest", "可以获取到"); holder.btnCoupon.setBackgroundResource(resId); }
标签:context div dex etc ack gen final source round
原文地址:http://www.cnblogs.com/longzhongren/p/6228687.html