Skip to content

Conversation

RasheeqZaman
Copy link

I noticed that when favorite status button was being clicked, The viewpager was not getting updated. That's why the favorite tab was not adding accounts instantly.

So I called accountViewPagerAdapter.notifyDataSetChanged(); in onClick of Favorite Status Button so that every time button is clicked, every fragment gets updated with new data.

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

Successfully merging this pull request may close these issues.

1 participant