I have the following code:
ArrayList<Lista_entrada> llibres = new ArrayList<Lista_entrada>();
// Afegim uns llibres d'exemple.
llibres.add(new Lista_entrada( "BUHO", "Búho es el nombre común d."));
llibres.add(new Lista_entrada( "COLIBRÍ", "Los troquilinos"));
The doubt that I have is right now I introduce it directly. But I would like to be able to extract the data of two EditText
.
I have the problem because:
llibres.add(new Lista_entrada( String, String );
(Wait 2 strings
)
Can you give me an example of how to fill it with the content of 2 EditText
?