Open marcinkunert opened 2 years ago
if (fragment == null) {
fragment = MediaSelectionFragment.newInstance(album)
supportFragmentManager
.beginTransaction()
.replace(R.id.container, fragment!!, MediaSelectionFragment::class.java.simpleName)
.commitAllowingStateLoss()
} else {
fragment?.loadNewAlbum(album)
}
What a coincidence!
But now image preview does not work, app crashes!! Image shows up now on changing different folders but app crashes on tapping on image to open it in full screen or on tapping preview button at the bottom. Any solution?
Fixes #854