compose-tinder-card
compose-tinder-card copied to clipboard
Optimize View Loading: Reload Only Necessary ProfileCard on Swipe
I have identified an issue in the sample project. I added logs during the loading of ProfileCard, CircleButton, and Box. Currently, when you swipe in any direction, all these views reload. Specifically, the ProfileCard reloads the number of remaining profiles to display.
I believe the optimal approach is to load only the ProfileCard that needs to be shown, similar to how a RecyclerView loads a specific set of items that are going to be displayed. This would enhance the performance and prevent unnecessary reloading of views.