FrescoImageViewer
FrescoImageViewer copied to clipboard
Not working on API 28 (9.0)
My code doesn't work on Android 9 while works great on 8.
When I open the viewer, it shows only a black screen. The logcat outputs
I/AppCompatDelegate: The Activity's LayoutInflater already has a Factory installed so we can not install AppCompat's
when I open the image, and
W/InputEventReceiver: Attempted to finish an input event but the input event receiver has already been disposed.
when I close the black screen. My code:
`private void openImageViewer() {
String url = MediaManager.get().url().generate(currentItem.getImage());
String[] list = {url};
new ImageViewer.Builder(this, list)
.setStartPosition(0)
.show();
}`
Hey @koostamas It works without any problems on Android 9, you can double check this by downloading the demo app from GPlay 🙂 I suppose that you're encountering an issue with secure connection while loading your image Check this thread an let me know if it works.
P.S. The provided logs has I
and W
modes, which means it's not an error, just an Info and a Warning. So they does not provide any useful info