How do I get data from a specific ArrayList row using a loop? I've added those value into ArrayList as follow.
myArrayList.add("ID007");
myArrayList.add("PPShein");
myArrayList.add("Male");
myArrayList.add("7-Apr-1983");
I want to do something like this:
for (i=0; i < myarr.size(); i++)
{
getName = myarr[2].value();
}
It's because of I want to display as follow.
myTextView.setText(getName); //myName : "ppshein"