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

Bad group view recycling #43

Open
BertrandBev opened this issue Jun 18, 2015 · 1 comment
Open

Bad group view recycling #43

BertrandBev opened this issue Jun 18, 2015 · 1 comment

Comments

@BertrandBev
Copy link

Hello,

I ran into a bad issue when I used your library to create an expandable listview with lazy-loaded imageViews as group views. It turned up that each time a group is opened, all the group view are redrawn but they are given a random convertView (and not theirs), which causes pretty bad blinkings as the previous imageViews are delivered randomely to the wrong groups. You can experience this issue in your own example by setting a delayed TextView update for your groups

in public View getGroupView (MainActivity ln 194)

new Handler().postDelayed(new Runnable() {
                @Override
                public void run() {
                    holder.title.setText(item.title);
                }
            }, 1000);

Is it caused by your wrapper class, or is it an inherent issue of the ExpandableListView?

Thank you in advance,

@ja-mike-a
Copy link

Hi @BertrandBev
I run into the same problem. Did you find a 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