I have this code in ADT
Android
private Titular [] datos = new Titular[] {};
How do I add another element from TextEdit
?
I have this code in ADT
Android
private Titular [] datos = new Titular[] {};
How do I add another element from TextEdit
?
In Java, you can't change the size of an Array after it has been instantiated. You will have to collect your data in another collection type. Check out this answer for example.