If the FragmentStatePagerAdapter is dynamically updated, the notifyDataSetChanged method is called.
Problem: The PageIndicators do not register for this events. This leads to the fact that if a new page is added after the current one, the Indicators are not updated automatically. The developer has to call notifyDataSetChanged on the Indicator by himself.
Why doesnt the PageIndicator register for the notifyDataSetChange method of the adapters?
If the
FragmentStatePagerAdapter
is dynamically updated, thenotifyDataSetChanged
method is called.Problem: The PageIndicators do not register for this events. This leads to the fact that if a new page is added after the current one, the Indicators are not updated automatically. The developer has to call
notifyDataSetChanged
on the Indicator by himself.Why doesnt the PageIndicator register for the notifyDataSetChange method of the adapters?