How to stop re-loading of buffered video during orientation changes in android device -


i have videoview in want play video after buffering complete.

i have managed 2 different xml code layouts landscape , portrait each.

my issue when change orientation of device, video buffering restart again.

try putting

android:configchanges="screenorientation" in activity tag of manifest file.

this way activity not recreated.

i think you.


Comments

Popular posts from this blog

c++11 - Intel compiler and "cannot have an in-class initializer" when using constexpr -

rest - Spring boot: Request method 'PUT' not supported -

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -