Commit 098f219a by jason

代码同步

parent 9cd1b8c8
...@@ -123,7 +123,7 @@ public class DishesGroupNode extends BaseExpandNode{ ...@@ -123,7 +123,7 @@ public class DishesGroupNode extends BaseExpandNode{
@Nullable @Nullable
@Override @Override
public List<BaseNode> getChildNode() { public List<BaseNode> getChildNode() {
return dishNodes; return childNode;
} }
} }
...@@ -86,11 +86,11 @@ public class DishesFragment extends BaseSupplyChainFragment<DishesPresenter> imp ...@@ -86,11 +86,11 @@ public class DishesFragment extends BaseSupplyChainFragment<DishesPresenter> imp
List<BaseNode> secondNodeList = new ArrayList<>(); List<BaseNode> secondNodeList = new ArrayList<>();
for (int n = 0; n <= 3; n++) { for (int n = 0; n <= 3; n++) {
DishNode seNode = new DishNode(secondNodeList, "Second Node " + n); DishNode seNode = new DishNode(secondNodeList);
secondNodeList.add(seNode); secondNodeList.add(seNode);
} }
DishesGroupNode entity = new DishesGroupNode(secondNodeList, "First Node " + i); DishesGroupNode entity = new DishesGroupNode(secondNodeList);
// 模拟 默认第0个是展开的 // 模拟 默认第0个是展开的
entity.setExpanded(i == 0); entity.setExpanded(i == 0);
......
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