Highlight selected item
Opened this issue · 1 comments
fmeneuhe commented
Hi,
thanks a lot for this useful library.
Is possible to highlight a selected item? select a single choice item.
Thanks
AmrDeveloper commented
Hello @fmeneuhe,
Thank you for your review,
Yes it is possible, in TreeNode class there is an attribute that tells you if it is selected or not, also if it is expanded or not
So in the view holder, you can the background color if it selected and another color if it not selected you can choose any color and also change text colour, icons ...etc
Thanks
Amr Hesham