rRrepotec
rRrepotec
Hi @ProFive , I implement my own solution to highlight a selected node. For do that you must implement a function in your adapter which change your TextView. `public TextView...
I've implement this function in my node adapter: `public TextView setSelected() { tvValue.setTextColor(Color.WHITE); tvValue.setBackgroundColor(Color.RED); return tvValue; }` Than in your on node click method you must call: `YOURADAPTER adapter =...
This is my adapter: `public class TreeItemHolder extends TreeNode.BaseNodeViewHolder{ private TextView tvValue; private ImageView arrowView; public TreeItemHolder(Context context) { super(context); } @Override public View createNodeView(final TreeNode node, IconTreeItem value) {...
better: [TreeItemHolder](https://pastebin.com/zcXjDVG3) 👍