I need help using clones (suite and not end)?


I try in vain to use this method : draw the clones and after fill them
in an app I made I filled in the clones as I went along and I get good results when the number of lines is constant)
but it’s a disaster when the number of lines varies dynamically whether I change the color of a background or add an item to the list
i am trying to use this “algorithm” clones are drawn but filled after

who can offer me a small example that works and that I could analyze?