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

Not working on API 28 (9.0) #94

Open
koostamas opened this issue Jan 16, 2019 · 1 comment
Open

Not working on API 28 (9.0) #94

koostamas opened this issue Jan 16, 2019 · 1 comment

Comments

@koostamas
Copy link

koostamas commented Jan 16, 2019

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();

}`

@troy379
Copy link
Contributor

troy379 commented Feb 16, 2019

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

repineda added a commit to AmirBabaei/SChat that referenced this issue May 26, 2019
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

No branches or pull requests

2 participants