Unlike Flutter, one would expect Compose would draw native views, but it doesn't even use the native view system, which is odd. That explains why it took them so long to come up with. Still, I am happy that stateful and stateless widgets have become a thing. In the old design, it was the developer's job to explain to views what changed. Now, what contributes to the drawing of views is treated as "State"s. DiffUtil.ItemCallback and other similar classes were probably the result of the old design.

· · Web · 0 · 0 · 0
Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!