|
|
|
|
475
|
RES item = (RES) adapter.getItem(position);
|
475
|
RES item = (RES) adapter.getItem(position);
|
476
|
String color = item.getColor();
|
476
|
String color = item.getColor();
|
477
|
//选中的时候存储颜色
|
477
|
//选中的时候存储颜色
|
478
|
- SPUtil.putAndApply(getContext(), Constant.Skin.COLOR_SELECT, "#FF4081" );
|
|
|
|
|
478
|
+// SPUtil.putAndApply(getContext(), Constant.Skin.COLOR_SELECT, "#FF4081" );
|
|
|
479
|
+ String color1 = item.getColor();
|
|
|
480
|
+ color1 = "#"+color1.substring(2);
|
|
|
481
|
+ SPUtil.putAndApply(getContext(), Constant.Skin.COLOR_SELECT,color1 );
|
|
|
482
|
+
|
479
|
EventBus.getDefault().post(mskinBean);
|
483
|
EventBus.getDefault().post(mskinBean);
|
480
|
setBanner(position);
|
484
|
setBanner(position);
|
481
|
}
|
485
|
}
|