Id Duplicado Duplicate id Android Studio | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Id Duplicado Duplicate id Android Studio

Cuando copio elementos, como un TextView, y los pego en la misma Activity, a veces tengo el problema de que se duplica el id, y cualquier cambio que haga en un elemento, se refleja en su duplicado, como un espejo. Cómo hago para que dejen de estar duplicados? // When I copy elements, like TextView, and paste them into the same Activity, I sometimes have the problem that the id is duplicated, and any changes I make to the element are reflected in its duplicate, like a mirror. How can I stop duplicating them?

20th May 2020, 3:35 PM
Emilio Hurtado
Emilio Hurtado - avatar
1 Answer
+ 1
After copying the item. You need to change the id of the new element.
26th May 2020, 5:19 AM
Evseev Anton
Evseev Anton - avatar