Login
You're viewing the functional.cafe public feed.
  • Nov 15, 2026, 9:33 AM

    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🔄 0⭐ 0