Using vector assets in Android apps
Nick Butcher
9529

Till data binding uses AppCompatResources, how about using our own binding adapter for app:srcCompat that uses AppCompatResources?

@BindingAdapter("srcCompat")
public static void setSrcCompat(ImageView v, @DrawableRes int drawableId) {
v.setImageDrawable(AppCompatResources.getDrawable(
v.getContext(), drawableId));
}