Android-ScalableVideoView
Android-ScalableVideoView copied to clipboard
Fix media player init
This avoids state loss when ScalableVideoView placed in a row in RecyclerView or ListView or similar. So when user scrolls over this row down, onDetached called and resources are released, but after user scrolls up again, onAttached restores the previous state.
Glad someone did this 😍 Thanks