You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I was doing some work on the demo, I found out that if you .stop() the SlideShowView and you .play() it again after changing its playlist with .setPlayList(), it will crash the library.
Logcat:
Process: com.marvinlabs.widget.slideshow.demo, PID: 31309
java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.
at android.view.ViewGroup.addViewInner(ViewGroup.java:3562)
at android.view.ViewGroup.addView(ViewGroup.java:3415)
at android.view.ViewGroup.addView(ViewGroup.java:3360)
at android.view.ViewGroup.addView(ViewGroup.java:3336)
at com.marvinlabs.widget.slideshow.SlideShowView.displayCurrentSlide(SlideShowView.java:444)
at com.marvinlabs.widget.slideshow.SlideShowView.playCurrentSlide(SlideShowView.java:377)
at com.marvinlabs.widget.slideshow.SlideShowView.next(SlideShowView.java:329)
at com.marvinlabs.widget.slideshow.SlideShowView$3.run(SlideShowView.java:104)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5088)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)
at dalvik.system.NativeStart.main(Native Method)
The text was updated successfully, but these errors were encountered:
As I was doing some work on the demo, I found out that if you
.stop()
the SlideShowView and you.play()
it again after changing its playlist with.setPlayList()
, it will crash the library.Logcat:
The text was updated successfully, but these errors were encountered: