Note that the preferred way to render a drawable in future is by using it as a component and adding it to a parent, so you might want to consider that before using this method.
So I guess my question is, have the future arrived yet, and if so, what does it mean to use it as a component and what’s the (future) benefit of that? Any coding examples?
Hmm… that looks fine for more… stationary drawables. But if I want to draw a live score of say chords being played, it then would look something like this if done your way
Yeah, but what’s the drawback with just using drawWithin()?
Using a stash of drawables as you suggest raises a bunch of deep philosophical questions like how many notes can there be in a chord, should putting your forearm on the piano keyboard be considered as legitimate music etc etc. And then there’s the filled notes, and quavers… and you end up with creating n*128 drawables just for some stupid end cases that with 99.999% certainty never gonna happen but where draw the line, does 99% suffice?
Anyway, I suggest to change the comment from “the preferred way in future…” to something more like “For a stationary drawable you might want to consider using it as a component and adding it to a parent”