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

Rewrite the adapter using real adapter #28

Open
JenyaKirmizaTripTop opened this issue Dec 28, 2016 · 2 comments
Open

Rewrite the adapter using real adapter #28

JenyaKirmizaTripTop opened this issue Dec 28, 2016 · 2 comments

Comments

@JenyaKirmizaTripTop
Copy link

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.

@sailywebvillee
Copy link

Hello ,
Have you find any solution for this problem. Please I am facing same issue.

@JenyaKirmizaTripTop
Copy link
Author

@sailywebvillee no, i didn't, we had different design, so i'm not using this lib. The only way is to write it by yourself or use some other solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants