Closed Thorlph closed 7 years ago
请问一下最后两行的代码 binding.testTreeView.setTreeLayoutManager(new RightTreeLayoutManager(dx, dy, mHeight)); binding.testTreeView.setTreeModel(tree); binding是什么对象来的? 是指需要绑定的view吗?
DataBinding 。use findViewById(R.id.tree_view) resplace the "binding"
请问一下最后两行的代码 binding.testTreeView.setTreeLayoutManager(new RightTreeLayoutManager(dx, dy, mHeight)); binding.testTreeView.setTreeModel(tree); binding是什么对象来的? 是指需要绑定的view吗?