Erel,
true, but the power of the list array in Java, is the ability to cast it to whatever Type desired.
So, if I have a custom user Type Person (name as String, age as long, weight as float, canBeChosen as Boolean)
In B4A, I already know that I can then assign it using your example. However, there is no checking of the Type when adding to the List (so can add anything to the List, vice explicit Casting), which means cannot do this
Dim p1, p2, p3, p4 as Person
'do initialization and set parameters of p1-p4
Dim listPeople as List <Person>
listPeople.add(p1)
listPeople.add(p2)
listPeople.add(p3)
listPeople.add(p4)
later in code...
sub setCanBeChosen