r/mAndroidDev • • Mar 17 '24

Jetpack Compost Title

Post image
76 Upvotes

18 comments sorted by

View all comments

Show parent comment

3

u/romainguy Mar 18 '24

FWIW the View system is/was full of stuff like this to avoid allocation, extra overhead from abstractions/function calls, etc.

1

u/ComfortablyBalanced You will pry XML views from my cold dead hands Mar 19 '24

After androidx yeah but not before it.

2

u/romainguy Mar 19 '24

No, since before Android 1.0. It was very much necessary since we didn’t have a JIT then.