fermoya / SwiftUIPager

Native Pager in SwiftUI
MIT License
1.27k stars 166 forks source link

[FEAT] Do not deallocate page when scrolling to next page #337

Open ramunasjurgilas opened 5 months ago

ramunasjurgilas commented 5 months ago

Is your feature request related to a problem? Please describe. As example I have 4 pages: A, B, C and D. When scrolling to page D and loading required content and it is presented. After, that I am scrolling to page A and scrolling back to page D the screen gets recreated and re-loading required content once again.

Describe the solution you'd like Implement functionality which would support, that content should not be deallocated when scrolling to other page.