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

Setting text on custom grid view, also set text on wrong grids #24

Closed
vikasongraph opened this issue Jun 5, 2013 · 1 comment
Closed
Labels

Comments

@vikasongraph
Copy link

Hi, I am using CaldroidSampleCustomAdapter to customize cell layout. I am putting some text on few textview on few dates. It sets data fine, but when i scroll the layout it also sets the text on wrong grids which i don't want. Please check attached image to see the duplicate text on wrong grids. Can you please look into this issue? Because i find this tutorial very helpful and useful, so it can help others perfectly.
caldroid

@thomasdao
Copy link
Contributor

This issue is not specific to Caldroid. The dates are displayed in gridView, and Android always reuses the cell to save memory.

In your case, I guess you need to set the text for every cell. If the cell doesn't have any data, you need to reset your text to blank.

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

No branches or pull requests

2 participants