Note: The other languages of the website are Google-translated. Back to English
  Thursday, 11 October 2018
  2 Replies
  3.7K Visits
0
Votes
Undo
Hello,

When I save a document in Word, the asterisk near the tab title is still visible. I have to switch to another tab and go back to the first one for the asterisk to disapear.

I have Office 365 and Office Tab 13.10, but the issue exists from at least version 12.0 .
4 years ago
·
#1742
0
Votes
Undo
Hello,
Thanks for your feedback.
Sorry, we will fix this issue in next version.
2 years ago
·
#1743
0
Votes
Undo
In the MedListActivity, add the below code:
@Override
public void onResume(){
    if(viewPager != null && viewPager.getAdapter() != null) {
        viewPager.getAdapter().notifyDataSetChanged();
    }
}
It should refresh the tabs.
If this is not working, do the below:
Move the Adapter creation mechanism (I assume this is the data you want to display) to a separate method, which will be called in OnCreate. This will not change current behavior.
In the Fragment, override the onResume method and also call this new adapter-creating method.
Summing up our comments discussion, the final solution is adding the following method to the Fragment code:
@Override 
public void onResume() { 
    super.onResume(); 
    // Here we call the data setup methods again, to reflect 
    // the changes which took place then the Fragment was paused
    initializeData(); 
    initializeAdapterpassed(); 
    initializeAdapterup(); 
}
  • Page :
  • 1
There are no replies made for this post yet.

Follow Us

Copyright © 2009 - www.extendoffice.com. | All rights reserved. Powered by ExtendOffice. | Sitemap
Microsoft and the Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.
Protected by Sectigo SSL