I discovered an interesting undocumented quirk of Android's new-ish RenderNode API. If you draw a view into a RenderNode via View::draw, that doesn't make a "screenshot" of the view as you'd expect. It instead records a reference to the view's internal RenderNode so you get a copy of the view that updates live without you ever having to invalidate anything. And you can still apply effects and shaders to it. Mildly cursed but pretty cool.
0 Boosts
0 Likes
No replies yet
Be the first to share your thoughts.