Skip to content
This repository has been archived by the owner on Jun 22, 2023. It is now read-only.

Advanced Android: [Lesson #][Step #][description] #14

Open
anubv opened this issue Apr 4, 2020 · 0 comments
Open

Advanced Android: [Lesson #][Step #][description] #14

anubv opened this issue Apr 4, 2020 · 0 comments

Comments

@anubv
Copy link

anubv commented Apr 4, 2020

Describe the problem
preserving the playback does not work with the code given in the codelab.

In which lesson and step of the codelab can this issue be found?
Lesson 13.1, Step 1.5

How to reproduce?
follow the steps given in codelab.

Versions

  1. Android Studio 3.6.2
  2. API Level 21 and above

Additional information
CurrentPosition needs to be preserved in the onPause() method. preserving it in the onSavedInstanceState defeats the purpose. this thread describes the solution :
https://stackoverflow.com/questions/12617209/playing-video-from-the-pause-state-in-videoview/12617573#12617573

codelab: advanced-android

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant