Commit 3222e00f authored by Xinghaoxiang's avatar Xinghaoxiang

coding

parent 298f9100
...@@ -46,7 +46,7 @@ public class ZhibanTableAdapter extends BaseAdapter { ...@@ -46,7 +46,7 @@ public class ZhibanTableAdapter extends BaseAdapter {
convertView = LayoutInflater.from(parent.getContext()) convertView = LayoutInflater.from(parent.getContext())
.inflate(R.layout.item_zhiban_table, parent, false); .inflate(R.layout.item_zhiban_table, parent, false);
viewHolder = new ViewHolder(convertView); viewHolder = new ViewHolder(convertView);
convertView.setTag(convertView); convertView.setTag(viewHolder);
} else { } else {
viewHolder = (ViewHolder) convertView.getTag(); viewHolder = (ViewHolder) convertView.getTag();
} }
......
...@@ -70,7 +70,7 @@ public class DutyChangePeopleActivity extends BaseActivity implements AdapterVie ...@@ -70,7 +70,7 @@ public class DutyChangePeopleActivity extends BaseActivity implements AdapterVie
} }
} catch (IOException e) { } catch (IOException | NullPointerException e) {
e.printStackTrace(); e.printStackTrace();
} }
Collections.sort(allPersonBeen); Collections.sort(allPersonBeen);
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:orientation="vertical" android:orientation="vertical"
android:background="#FFF"
tools:context="cn.bsl.bxbg.zhiban.view.DutyChangePeopleActivity"> tools:context="cn.bsl.bxbg.zhiban.view.DutyChangePeopleActivity">
<include layout="@layout/conn" /> <include layout="@layout/conn" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment