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

notifyDataSetChanged not found #2

Open
udongeex opened this issue Feb 4, 2019 · 4 comments
Open

notifyDataSetChanged not found #2

udongeex opened this issue Feb 4, 2019 · 4 comments

Comments

@udongeex
Copy link

udongeex commented Feb 4, 2019

Hello, I'm trying to make search function for this view. But I can't call notifyDataSetChanged() to update the search/filtered data.

@vvguoliang
Copy link

hi!这个不是适配器里面的吗?应该很简单解决这个问题呀!

@tommybuonomo
Copy link
Owner

tommybuonomo commented Feb 21, 2019

Hi, try to call the notifyDataSetChanged method on the view pager adapter.

@vvguoliang
Copy link

最基本方法可以用adapter.notifyDataSetChanged()

@udongeex
Copy link
Author

Thanks guys, I did try to fix it by re-populating the adapter.
I will try to call notifyDataSetChanged() in the adapter next time 👍

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