[SOLVED][libGDX] Dedicating a class to fill an array, while implementing screens

Hello everyone!

My situation is the following - I have a few screens and in one of them - GameScreen, I want to output data from a string array. The array is pretty big - well over 200 entries.

The problem is, when I try to fill the array in another class - TextFill, and then use it in GameScreen, java says it’s of size 0.

If anyone could give me any insight on the matter, I would be grateful!