Has anyone tried migrating to non-transitive R cla...
# android
m
Has anyone tried migrating to non-transitive R classes in their project? After the refactor how do you know which fully-qualified class to use when there are naming clashes? e.g.
Copy code
private var attrHighlightColor = context.getThemeColour(R.attr.colorPrimary)
becomes either
Copy code
private var attrHighlightColor = context.getThemeColour(androidx.appcompat.R.attr.colorPrimary)
or
Copy code
private var attrHighlightColor = context.getThemeColour(android.R.attr.colorPrimary)