AndroidTreeView icon indicating copy to clipboard operation
AndroidTreeView copied to clipboard

How to update the node

Open Dartly opened this issue 7 years ago • 1 comments

I want to modify the text of the node.But I can't do it

Dartly avatar Apr 20 '18 13:04 Dartly

Hi,

look my example you start from the node and you get the ViewHolder then the View, it's simple ```

((TextView)t.getViewHolder().getView().findViewById(R.id.zone_name)).setTextColor(getResources().getColor(R.color.Black));
                 ((TextView)t.getViewHolder().getView().findViewById(R.id.zone_name)).setBackgroundColor(getResources().getColor(R.color.soft_grey));

NizarETH avatar May 10 '18 14:05 NizarETH