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

UI gets messy when scrolled up #83

Open
poojagaonkar opened this issue Jun 11, 2014 · 3 comments
Open

UI gets messy when scrolled up #83

poojagaonkar opened this issue Jun 11, 2014 · 3 comments

Comments

@poojagaonkar
Copy link

Hi,

When I scroll the app down and again up the UI gets messy .
r

If I change a line in the activity to:-

convertView.setLayoutParams(new RelativeLayout.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, 400));

This problem goes away but the images are displayed in a normal gridview pattern

@yubaojian02
Copy link

is it solved?

@poojagaonkar
Copy link
Author

@yubaojian02 no its not solved

@vicianm
Copy link

vicianm commented Sep 10, 2014

Solution for this problem: #89

The problem is, that there are some variables cached in onMeasure() method. You need to comment "if" statements so that onMeasure() always recalculates necessary atributes.

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

3 participants