Skip to content

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

@emigenix

Description

@emigenix

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions