Locations updating, but disappears

My device location is being collected into an array but they disappear
when I do anything with it from another class