Closed NateshR closed 8 years ago
Issue #1 fixed.
Hi @NateshR,
Thank you for contribution. Some comments regarding pull-request:
Could you please adjust it according to comments and re-submit?
Thanks.
Event bus is used to notify only. let me send another pull request, no idea why it's showing so many files.
I was comparing it with master, that's why it was showing 301 files changed.
New pull request for this #30
@NateshR Closing this pull-request in favor of https://github.com/dhis2/dhis2-android-dashboard/pull/30
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.