White flick in background when changing image in state change

I am facing a problem of white background flick whenever state is changed.the background image gets changed whenever the state get changed and move to the next page.but when the state is changing there is a white flick in the background before the image gets loaded.how to fix this issue?