Above of all, please let me show the appreciation of this project.
But a little problem came to me when I migrated the codes to my own project. That is, ViewPager's performance is not good enough. Whenever a preview page is slided in, a new PreviewItemFragment is crated.
So I replace ViewPager with ViewPager2, which automatically caches one page on each side of the current preview page.
I hope it will be helpful to the project :)
Above of all, please let me show the appreciation of this project. But a little problem came to me when I migrated the codes to my own project. That is, ViewPager's performance is not good enough. Whenever a preview page is slided in, a new PreviewItemFragment is crated. So I replace ViewPager with ViewPager2, which automatically caches one page on each side of the current preview page. I hope it will be helpful to the project :)