Open eugene-ltv opened 4 years ago
Sumup can even enforce this in it's gradle file via
android {
resourcePrefix 'sumup_'
}
Hi Eugene, Hi Marcus,
Thank you for your inputs, we think it is something valuable and we will tackle for the next iteration of the SDK. More to follow in early 2020.
Many thanks,
Please add some unique prefix for all resources. For example
sumup_
orcom_sumup_
.When I tried to use a layout with the name
activity_checkout.xml
got the runtime error:java.lang.NoSuchFieldError: No static field checkout_toolbar of type I in class Lcom/sumup/merchant/R$id;
Android Studio doesn't give a hint when you create a layout with duplicate name, only when you are trying to rename it to existing.