Prevent State change when switching between segments ionic

Im retrieving data from firebase but each time i switch between segments, the segment reloads. This is very annoying because i have cards with images in the segments and it takes away from user experience each time a segment reload. I want to know how to prevent the state from changing when switching between statement