|
@@ -475,7 +475,11 @@ public class DetialFragment extends MVPFragment<DetialPresent, DetialModel> impl
|
475
|
475
|
RES item = (RES) adapter.getItem(position);
|
476
|
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
|
483
|
EventBus.getDefault().post(mskinBean);
|
480
|
484
|
setBanner(position);
|
481
|
485
|
}
|