Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement ViewHolder pattern on the GameListAdapter. #535

Merged
merged 1 commit into from Jun 25, 2014

Conversation

sigmabeta
Copy link
Contributor

An optimization to the game list screen. In the case that there are more rows than can fit on screen, when the user scrolls to make another row visible, Android recycles the pre-inflated views from the row that just scrolled off screen. This avoids inflating views every time a new game comes on screen, and should enhance performance for users with many games.

So on Android, probably not a lot of users. But it's good practice and should be done with every ListAdapter class.

@lioncash
Copy link
Member

@dolphin-emu-bot rebuild

lioncash added a commit that referenced this pull request Jun 25, 2014
Implement ViewHolder pattern on the GameListAdapter.
@lioncash lioncash merged commit f544631 into dolphin-emu:master Jun 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants