Some GlimpsePainters may wish to perform initialization or maintain some state on a per-GlimpseContext basis.
A callback in the GlimpsePainter interface informing the painter when it is attached to a new GlimpseLayout would make such situations simpler to handle.
Some GlimpsePainters may wish to perform initialization or maintain some state on a per-GlimpseContext basis.
A callback in the GlimpsePainter interface informing the painter when it is attached to a new GlimpseLayout would make such situations simpler to handle.