ViewPager observe changes now on adding and deleting dashboards.
FragmentStatePageAdapter implemented.
Smooth scroll to the added or removed dashboard.
onLoadFinished in DashboardViewPagerFragment is called twice and it is necessary to be called twice, first when saved dashboard locally and second when synced from server. But reflecting added or removed dashboard is called once only, the second time it just updates the data in DashboardAdapter.
ViewPager observe changes now on adding and deleting dashboards. FragmentStatePageAdapter implemented. Smooth scroll to the added or removed dashboard. onLoadFinished in DashboardViewPagerFragment is called twice and it is necessary to be called twice, first when saved dashboard locally and second when synced from server. But reflecting added or removed dashboard is called once only, the second time it just updates the data in DashboardAdapter.