Problem with grid.setItems() method

I can’t see why grid.setItems() can’t take a immutable list as a parameter and tries to cast it to Stream ?

Hi. Grid.setItems should accept any implementation of Collection. I think the wrongful cast to Stream is an issue of the IDE

can you show us the code?

I just fixed it

image.png

it was like this
image.png