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

Icons become mismatched when more than 10 items #17

Open
ffolkes opened this issue Sep 16, 2019 · 0 comments
Open

Icons become mismatched when more than 10 items #17

ffolkes opened this issue Sep 16, 2019 · 0 comments

Comments

@ffolkes
Copy link

ffolkes commented Sep 16, 2019

I have a list of 10 items, and the first few have icons. The last ones use WhatsNewItem.NO_IMAGE_RES_ID and everything is fine...until I add more than 10 items. Then the icons become mismatched.

Example:

new WhatsNewItem("Item 1", "This is item 1.", R.drawable.ic_whatsnew_check),
new WhatsNewItem("Item 2", "This is item 2.", R.drawable.ic_whatsnew_check),
new WhatsNewItem("Item 3", "This is item 3.", R.drawable.ic_whatsnew_check),
new WhatsNewItem("Item 4", "This is item 4.", R.drawable.ic_whatsnew_check),
new WhatsNewItem("Item 5", "This is item 5.", R.drawable.ic_whatsnew_check),
new WhatsNewItem("Item 6", "This is item 6.", WhatsNewItem.NO_IMAGE_RES_ID),
new WhatsNewItem("Item 7", "This is item 7.", WhatsNewItem.NO_IMAGE_RES_ID),
new WhatsNewItem("Item 8", "This is item 8.", WhatsNewItem.NO_IMAGE_RES_ID),
new WhatsNewItem("Item 9", "This is item 9.", WhatsNewItem.NO_IMAGE_RES_ID),
new WhatsNewItem("Item 10", "This is item 10.", WhatsNewItem.NO_IMAGE_RES_ID),
new WhatsNewItem("Item 11", "This is item 11.", WhatsNewItem.NO_IMAGE_RES_ID),
new WhatsNewItem("Item 12", "This is item 11.", WhatsNewItem.NO_IMAGE_RES_ID)

results in:

(ICON) Item 1 - This is item 1
(ICON) Item 2 - This is item 2
(ICON) Item 3 - This is item 3
(ICON) Item 4 - This is item 4
(ICON) Item 5 - This is item 5
Item 6 - This is item 6
Item 7 - This is item 7
Item 8 - This is item 8
Item 9 - This is item 9
Item 10 - This is item 10
(ICON) Item 11 - This is item 11
(ICON) Item 12 - This is item 12

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

1 participant