This is cool idea! Creating an extension function ...
# android
n
This is cool idea! Creating an extension function on ViewBinding. via https://proandroiddev.com/building-the-right-android-view-abstraction-27526d8a45c7
a
that is a lot of reaching to try to hang onto xml 🙂
j
@Adam Powell I guess there is a difference into hanging onto XML and waiting for Compose to get production ready 😄 so until then this extension function might actually help. But I agree that this article is glorifying markup languages, when in reality there is no need to actually have them around anymore. They have served their purpose, time to move on.
a
yeah as a pattern the code in the screenshot is just fine