I have a List<User> userList need to convert to UserData[]
for(int i = 0; i < userList.size(); i++){
userData[i] = userList.get(i);
}
It always returns null though the list size is 1. can anyone help on this.
I have a List<User> userList need to convert to UserData[]
for(int i = 0; i < userList.size(); i++){
userData[i] = userList.get(i);
}
It always returns null though the list size is 1. can anyone help on this.