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

Lint: View Holder Candidates: recycle the view patterns for performance #7

Open
emigenix opened this issue Apr 17, 2017 · 0 comments
Open
Labels

Comments

@emigenix
Copy link
Contributor

Problem:
Scrolling often feel laggy, especially in the event viewers. The XML files and code controlling these viewers are far from optimized and possibly outdated at worst.

Lint give the following complaint:

Unconditional layout inflation from view adapter: Should use View Holder pattern (use recycled view passed into this method as the second parameter) for smoother scrolling

The affected files are:

# ../../src/main/java/zz/snsn/xlite/views/adapter/ListViewEventAdapter.java:65
# ../../src/main/java/zz/snsn/xlite/views/adapter/ListViewImsiCatcherAdapter.java:60

Please compile and check lint results for more details
This issue is also related to #7.

@emigenix emigenix added the bug label Apr 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant