提交 d62a17c9 编写于 作者: W wanglihang

FIX: replce "!=" with "!equals()"

上级 00563195
...@@ -47,7 +47,7 @@ public class SpAdapter extends AbsRecyclerAdapter<AbsViewBinder<SpBean>, SpBean> ...@@ -47,7 +47,7 @@ public class SpAdapter extends AbsRecyclerAdapter<AbsViewBinder<SpBean>, SpBean>
@Override @Override
public void bind(final SpBean spBean) { public void bind(final SpBean spBean) {
if (spBean.value.getClass().getSimpleName() != SpInputType.HASHSET) { if (!spBean.value.getClass().getSimpleName().equals(SpInputType.HASHSET)) {
key.setText(spBean.key); key.setText(spBean.key);
type.setText(spBean.value.getClass().getSimpleName()); type.setText(spBean.value.getClass().getSimpleName());
inputView.setInput(spBean, new SpInputView.OnDataChangeListener() { inputView.setInput(spBean, new SpInputView.OnDataChangeListener() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册