justiceamoh / mhb_android

Android project for the Methodist Hymn Book App
5 stars 9 forks source link

MenuHymnFragment cant load after successive runs #4

Closed justiceamoh closed 11 years ago

justiceamoh commented 11 years ago

I think this has something to do with the "binder transaction buffer size" which is currently 1MB. Maybe, remove all fragments? See: http://stackoverflow.com/questions/3528735/failed-binder-transaction

justiceamoh commented 11 years ago

turns out it manages to load after you swipe through other hymn fragments...hmm

justiceamoh commented 11 years ago

fixed! used FragmentStatePagerAdapter instead of FragmentPagerAdapter.... it's recommended for large number of fragments since it destroys after the fragment is swiped away.