Android 给item用颜色集合设置颜色的方法

holder.paixu.setBackground(new ColorDrawable(context.getResources().getColor(colourList.get(position))));

猜你喜欢

转载自blog.csdn.net/yijiaodingqiankun/article/details/80826626
今日推荐