Android Question How to check a list is null or not

hi guys, i just tried some code to check a list isnull or not, but i got some error what's wrong with my code?

List Check:
Wait For(j) JobDone(j As HttpJob)
    If j.Success Then
        Dim parser As JSONParser
        parser.Initialize(j.GetString)
        Dim root As List = parser.NextArray
        If (root.Size = Null) Or root.Size = 0 Then
            Detail.day_2 = Detail.day_1 - Rnd(10,50)
            Detail.d_day_2 = Detail.d_day_1 - Rnd(1,8)
 
If the error is not confidential it will be easier to help you if you post it.

parser.NextArray will never return Null.

in this case i used an API that sometime give me a response like this
api.PNG
 
Upvote 0
Top