You could, but why? app:srcCompat already exists on AppCompatImageView?
Nick Butcher

Sorry, I didn’t make it clear. I have drawable references like `@drawable/foo` all over the place in my layouts that use databinding. As per,

Note that we don’t want data binding to load the drawable for us (as it doesn’t use AppCompatResources to load drawables currently) so can’t refer to the drawable directly like @{@drawable/foo}

if I didn’t want to change those to R, I thought one way is to use binding adapter for app:srcCompat to go through AppCompatResources.