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

Title doesn't update in View after using setItems() twice #37

Open
dpather opened this issue May 26, 2018 · 0 comments
Open

Title doesn't update in View after using setItems() twice #37

dpather opened this issue May 26, 2018 · 0 comments

Comments

@dpather
Copy link

dpather commented May 26, 2018

Hi!

I first set the items on create (5 items) and then later set them again using setItems() (to 2 items). They update the actual objects (Adapter and Viewpager just fine with 2 items and correct values) with the view having 2 items but the Title values in the View are not updated and show the values from the initial set (5 items).

For example if the view has title values of: "1" , "2". "3", "4", "5" on the first setItems() call, on the second setItems() call (with only values "4" and "5"), the title will have the values of "1" and "2", not the expected "4" and "5".

Please advise on how to update the view to show the updated item values?

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