Commit 6380adff authored by Xinghaoxiang's avatar Xinghaoxiang

coding

parent 3222e00f
......@@ -63,19 +63,7 @@ public class DutyChangePeopleAdapter extends BaseAdapter {
} else {
viewHolder.changePeoplePy.setVisibility(View.VISIBLE);
}
// if (allPersonBeen.get(position - 1).getFirstWord()
// .equals(allPersonBeen.get(position).getFirstWord())) {
// Log.d(TAG, "getView: " + false);
// allPersonBeen.get(position).setShow(false);
// if (!allPersonBeen.get(position).isShow()) {
// Log.d(TAG, "getView: gone");
// viewHolder.changePeoplePy.setVisibility(View.GONE);
// } else {
// allPersonBeen.get(position).setShow(true);
// Log.d(TAG, "getView: visible");
// viewHolder.changePeoplePy.setVisibility(View.VISIBLE);
// }
// }
}
......
......@@ -97,8 +97,9 @@ public class TiaoBanPublish extends BaseActivity {
Toast.makeText(this, "请选择变更人", Toast.LENGTH_SHORT).show();
return;
}
dutyPlanClient.tiaobanBean(choose_person,id,choose_reason,dutyTime).flatMap(new Function<TiaobanBean, ObservableSource<CCDutiesEdit>>() {
// TODO the flatMap will delete
dutyPlanClient.tiaobanBean(choose_person,id,choose_reason,dutyTime)
.flatMap(new Function<TiaobanBean, ObservableSource<CCDutiesEdit>>() {
@Override
public ObservableSource<CCDutiesEdit> apply(@NonNull TiaobanBean tiaobanBean) throws Exception {
if (choose_time.equals("08:30 - 12:00")) {
......
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