GitHub - ycastonguay/MPfm: master 4fd8d4a9 |
[ Diff ] [ Back to Repository ] |
Author |
Committer |
Branch |
Timestamp |
Parent |
ycastonguay |
ycastonguay |
master |
2013-07-23 20:43:15 |
master 591c564a |
|
Affected Issues |
0000406: Implement the MPfm.MVP views for Android |
|
Changeset |
Android: Fixed more memory leaks related to bitmaps. There might be other leaks but the new code seems to release most of the memory. Once again, I had to reimplement the way the ViewPager in the MainActivity handles the MobileLibraryBrowser fragments. This time the fragments are never actually replaced; the fragment is refreshed through the presenter instead. This fixes also the empty fragments often shown when changing fragments (clicking on an item or using the Back button). The ViewPager is one of the most buggiest control I've ever seen. Android never ceases to amaze me, every time! The iOS version will keep spawning new views as needed.
Related to issue 0000406. |
mod - MPfm/MPfm.Android/Classes/Activities/MainActivity.cs |
[ Diff ] [ File ] |
mod - MPfm/MPfm.Android/Classes/Adapters/MainTabStatePagerAdapter.cs |
[ Diff ] [ File ] |
mod - MPfm/MPfm.Android/Classes/Adapters/MobileLibraryBrowserGridAdapter.cs |
[ Diff ] [ File ] |
mod - MPfm/MPfm.Android/Classes/Cache/BitmapCache.cs |
[ Diff ] [ File ] |
mod - MPfm/MPfm.Android/Classes/Fragments/MobileLibraryBrowserFragment.cs |
[ Diff ] [ File ] |
mod - MPfm/MPfm.Android/Classes/Navigation/AndroidNavigationManager.cs |
[ Diff ] [ File ] |
mod - MPfm/MPfm.Android/Resources/Layout/MobileLibraryBrowser.axml |
[ Diff ] [ File ] |
mod - MPfm/MPfm.MVP/Navigation/MobileNavigationManager.cs |
[ Diff ] [ File ] |
mod - MPfm/MPfm.MVP/Presenters/Interfaces/IMobileLibraryBrowserPresenter.cs |
[ Diff ] [ File ] |
mod - MPfm/MPfm.MVP/Presenters/MobileLibraryBrowserPresenter.cs |
[ Diff ] [ File ] |