Commit aa25ac9f authored by jianglx's avatar jianglx

修改驾驶人第一次选择无选择框,第二次打开有选择框的问题

parent 3a662c01
...@@ -66,7 +66,7 @@ public class DrivingListActivity extends BaseStatusActivity<CommonPresenter> imp ...@@ -66,7 +66,7 @@ public class DrivingListActivity extends BaseStatusActivity<CommonPresenter> imp
} }
}); });
mAdapter = new DrivingListAdapter(dataBean != null); mAdapter = new DrivingListAdapter(openType == 1);
mAdapter.setOnLoadMoreListener(this, recyclerView); mAdapter.setOnLoadMoreListener(this, recyclerView);
recyclerView.setLayoutManager(new LinearLayoutManager(mActivity)); recyclerView.setLayoutManager(new LinearLayoutManager(mActivity));
recyclerView.setAdapter(mAdapter); recyclerView.setAdapter(mAdapter);
......
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