Browse Source

bug修改

huyuguo 5 years ago
parent
commit
f3b44bceb1

+ 4 - 1
app/src/main/java/com/electric/chargingpile/activity/PrivateZhuangInfoActivity.java

306
    }
306
    }
307
307
308
    public void Init() {
308
    public void Init() {
309
309
        selectBitmap[0] = null;
310
        selectBitmap[1] = null;
311
        selectBitmap[2] = null;
312
        
310
        pop = new PopupWindow(PrivateZhuangInfoActivity.this);
313
        pop = new PopupWindow(PrivateZhuangInfoActivity.this);
311
314
312
        View view = getLayoutInflater().inflate(R.layout.item_popupwindows, null);
315
        View view = getLayoutInflater().inflate(R.layout.item_popupwindows, null);

+ 1 - 0
app/src/main/java/com/electric/chargingpile/adapter/PrivateZhuangListAdapter.java

103
        {
103
        {
104
            try {
104
            try {
105
                holder.item_zhan_name.setText(datas.get(position).getString("zhan_name"));
105
                holder.item_zhan_name.setText(datas.get(position).getString("zhan_name"));
106
                holder.reason.setText("");
106
                if (datas.get(position).getString("status").equals("0")) {
107
                if (datas.get(position).getString("status").equals("0")) {
107
                    holder.item_status.setText("已下线");
108
                    holder.item_status.setText("已下线");
108
                    holder.item_status.setTextColor(convertView.getResources().getColor(R.color.ui_68));
109
                    holder.item_status.setTextColor(convertView.getResources().getColor(R.color.ui_68));