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.
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.