I want to retrive values from the getNombre()
and put it in a new array not arraylist. The job is done from a background task.
public class Post {
private String nombre;
public void setNombre(String nombre) {
this.nombre = nombre;
}
public String getNombre() {
return nombre;
}
}
I call my postlist as follows:
ArrayList<Post> PostList = new ArrayList<Post>();
In my background task I have the following post excuse method.
@Override
protected void onPostExecute(ArrayList<Post> result) {
}
How can I put getNombre()
values into a new array, not ArrayList