How to load SimpleMediaManager to ZoomImageView?
Im using this code
And then got an error
Im using this code
B4X:
MediaManager.SetMedia(ZoomImg.ImageView, ImgUrl)
And then got an error
B4X:
java.lang.RuntimeException: Type does not match (class android.widget.ImageView)
at anywheresoftware.b4a.objects.B4XViewWrapper.typeDoesNotMatch(B4XViewWrapper.java:388)
at anywheresoftware.b4a.objects.B4XViewWrapper.asPanelWrapper(B4XViewWrapper.java:109)
at anywheresoftware.b4a.objects.B4XViewWrapper.AddView(B4XViewWrapper.java:324)
at com.trigonometry.v2.p14.smmviews$ResumableSub_AddMedia.resume(smmviews.java:246)
at com.trigonometry.v2.p14.smmviews._addmedia(smmviews.java:190)
at com.trigonometry.v2.p14.simplemediamanager$ResumableSub_RegisterForMeta.resume(simplemediamanager.java:1740)
at com.trigonometry.v2.p14.simplemediamanager._registerformeta(simplemediamanager.java:1647)
at com.trigonometry.v2.p14.simplemediamanager._setmediawithrequestset(simplemediamanager.java:2008)
at com.trigonometry.v2.p14.simplemediamanager._setmediawithextra(simplemediamanager.java:1954)
at com.trigonometry.v2.p14.simplemediamanager._setmedia(simplemediamanager.java:174)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:351)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144)
at anywheresoftware.b4a.BA$2.run(BA.java:387)
at android.os.Handler.handleCallback(Handler.java:914)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:224)
at android.app.ActivityThread.main(ActivityThread.java:7560)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)