Hi,
First of all, thank you very much for this book. I have learnt a lot from it. I am at chapter 27 Episode Player and when I build and run the app I get the following error and app crashes:
2020-01-16 08:58:48.810 30808-30808/raywenderlich.com.podplay E/ActivityThread: Activity raywenderlich.com.podplay.ui.PodcastActivity has leaked ServiceConnection android.media.browse.MediaBrowser$MediaServiceConnection@20b76c9 that was originally bound here
android.app.ServiceConnectionLeaked: Activity raywenderlich.com.podplay.ui.PodcastActivity has leaked ServiceConnection android.media.browse.MediaBrowser$MediaServiceConnection@20b76c9 that was originally bound here
at android.app.LoadedApk$ServiceDispatcher.(LoadedApk.java:1540)
at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:1432)
at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1615)
at android.app.ContextImpl.bindService(ContextImpl.java:1567)
at android.content.ContextWrapper.bindService(ContextWrapper.java:694)
at android.media.browse.MediaBrowser$1.run(MediaBrowser.java:187)
at android.os.Handler.handleCallback(Handler.java:794)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:176)
at android.app.ActivityThread.main(ActivityThread.java:6651)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:824)
Could you please help me fix this issue?
Thanks
Anshul