Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix #892 - Favourite Accounts not showing up Dynamically#899

Open
RasheeqZaman wants to merge 1 commit intocodinguser:develop from
RasheeqZaman:#892_Favorite_Status_Button
Open

Fix #892 - Favourite Accounts not showing up Dynamically #899
RasheeqZaman wants to merge 1 commit intocodinguser:develop from
RasheeqZaman:#892_Favorite_Status_Button

Conversation

@RasheeqZaman
Copy link

@RasheeqZaman RasheeqZaman commented Jun 2, 2021

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /