I am working with viewPager
where lets say I have 3
fragmentsout of that one is in focus so when I perform any operations like
loador
delete` the operation executes in the page on focus for the time and need to refresh the app in order for the other pages to perform the operation.
Can anyone please let me know how do i make it perform a same task instantly when I call it from either of the pages
I have came across this question stackoverflow question but here they are deleting the fragments but all I need to do is refresh all so all perform the given operation when it's been given.
I have also came across this question Stackoverflow question 2 but here it's re- doing everything thus not efficient at all
Tried the following code, it worked, but it's lagging
pager.getAdapter().notifyDataSetChanged();//with the pager adapter "position_none" <------ laggy
Got the solution that I was looking for in case anyone of you is looking for the same here is the link.