Yeah, I use synthetics. I never tested this, but I...
# android
r
Yeah, I use synthetics. I never tested this, but I was under the assumption that the backing integers would not line up across layouts. So if AS auto-imported the wrong layout synthetic, you would crash at runtime when it went to look up a view that isn’t being displayed. Not to mention the havoc it will wreak when you try to do a refactor rename on your view. AS is not good at handling them in the first place, and naming multiple things across layouts will make it even worse.