I use a FragmentAdapter to populate a Viewpager with a PagerTitleStrip (using getTitle() in the Adapter).
All is working fine (at least for now) except one thing, when i update the title of one of the fragment and i call notifyDataSetChanged in the adapter , the title in the PagerTitleStrip change but not the size of textview that hold it, eg:

then i update after clicking to a folder

as you can see , the Notification title isn’t complete because the textview is still at the size of sdcard0.
When i swipe to another fragment (left or right), as soon as the swipe begin , the size of the textview is updated.
Does anyone know what can i do to update it at the same time as the title change?
I found a workaround to update the textview size.
I call pagerStrip.setTextSpacing(pagerStrip.getTextSpacing()); to set the text space at the same value.
it’s not perfect but its working!