Closed rikner closed 6 years ago
Instead of using a Runnable and Handler, use a Choreographer(https://developer.android.com/reference/android/view/Choreographer.html#postFrameCallback(android.view.Choreographer.FrameCallback) for a render loop.
Runnable
Handler
Choreographer
Now the player reloads after the app was paused. Fixes https://github.com/flowkey/NativePlayerIOS/issues/355
Instead of using a
Runnable
andHandler
, use aChoreographer
(https://developer.android.com/reference/android/view/Choreographer.html#postFrameCallback(android.view.Choreographer.FrameCallback) for a render loop.Now the player reloads after the app was paused. Fixes https://github.com/flowkey/NativePlayerIOS/issues/355