Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for media not reloading after album change #874

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marcinkunert
Copy link
Contributor

@marcinkunert marcinkunert commented Jan 31, 2022

Fixes #854

@hanliuxin5
Copy link

            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!

@Aksx73
Copy link

Aksx73 commented Mar 9, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Image not loading on switch of folder
5 participants