ursus
05/23/2022, 2:43 PMtypealias BR = foo.bar.base.R
if I then use BR.
I don’t see string
, drawable
etc
I can only do
typeealias BR_string = foo.bar.base.R.string
typyealias BR_drawable = foo.bar.base.R.drawable
etc, which is stupidephemient
05/23/2022, 2:46 PMursus
05/23/2022, 2:48 PMephemient
05/23/2022, 3:36 PMimport foo.bar.base.R as BR
then BR.string
, BR.drawable
, etc. workursus
05/23/2022, 3:40 PMephemient
05/23/2022, 3:56 PMimport module.R as ModuleR
. I don't understand what you mean by "need to spell out the import manually first" - just let the IDE auto-fill to "module.R.string.foo", then copy the prefix to the import list and replacetseisel
05/23/2022, 4:58 PMursus
05/23/2022, 5:29 PMfoo.bar.quax.R.string.meh
and then clean it up with import alias?ephemient
05/24/2022, 12:12 PMR
doesn't exist anyway. but yes, if I were in the same package name as the Android package, I'd just type it out, it all auto-completesursus
05/24/2022, 5:36 PMtseisel
05/24/2022, 6:48 PM