Skip to content

Rewrite the adapter using real adapter #28

Open
@JenyaKirmizaTripTop

Description

@JenyaKirmizaTripTop

Thank you sir, for a good library, though i have some concerns about its performance. You are using strange approach for adapter.
For example in setAdapter() method:

        for (int i = 0; i < mAdapter.getCount(); i++) {
            mAdapter.addView(i);
        }

It's bad cause all views are always in RAM, so it slows the performance dramatically. What if i have about 30 custom views. It will be lagging. Consider creating honest adapter for this purposes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions