Use non transitive R classes
This commit is contained in:
parent
6d1285d448
commit
600dec2c69
|
@ -51,7 +51,7 @@ class AppListAdapter(context: Context, private val resource: Int, apps: List<App
|
||||||
}
|
}
|
||||||
if (selectedItemsIds.get(position)) {
|
if (selectedItemsIds.get(position)) {
|
||||||
convertView?.setBackgroundColor(
|
convertView?.setBackgroundColor(
|
||||||
MaterialColors.getColor(convertView, R.attr.colorOnTertiary)
|
MaterialColors.getColor(convertView, com.google.android.material.R.attr.colorOnTertiary)
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
convertView?.setBackgroundResource(0)
|
convertView?.setBackgroundResource(0)
|
||||||
|
|
|
@ -21,5 +21,5 @@ android.useAndroidX=true
|
||||||
kotlin.code.style=official
|
kotlin.code.style=official
|
||||||
org.gradle.unsafe.configuration-cache=true
|
org.gradle.unsafe.configuration-cache=true
|
||||||
android.defaults.buildfeatures.buildconfig=true
|
android.defaults.buildfeatures.buildconfig=true
|
||||||
android.nonTransitiveRClass=false
|
android.nonTransitiveRClass=true
|
||||||
android.nonFinalResIds=false
|
android.nonFinalResIds=false
|
Loading…
Reference in New Issue