The arraylist that i am working on.
[Bibek Gurung, 9.808112115E9, , [email protected]]
The code I've tried to check the empty index in an array:
if (!singleRecordExtract.get(2).toString().isEmpty()) {
//but it passes through the validation
}
I've tried this but somehow, the validation is not working. And I wonder how? Does anyone know the solution or a work around for this problem?