/// <summary> /// Called when the host application resumes. /// </summary> public void OnResume() { _suspended = false; if (!_renderingHandled) { EcoreCallbackHandle = EcoreAnimator.AddAnimator(DoFrameSafeFromEcore); _renderingHandled = true; } }
private void CreateAnimator() { if (animator == IntPtr.Zero) { animator = EcoreAnimator.AddAnimator(() => { Evas.evas_object_image_pixels_dirty_set(evasImage, true); return(true); }); } }
/// <summary> /// Called when the host receives the resume event. /// </summary> public void OnResume() { Log.Info(ReactConstants.Tag, ">>>>>>>>> OnResume <<<<<<<<<<"); //CompositionTarget.Rendering += _animatedFrameCallback; if (IntPtr.Zero == _anim) { _anim = EcoreAnimator.AddAnimator(OnEcoreRender); } // start watch sw = Stopwatch.StartNew(); }
private void List_ScrollAnimationStarted(object sender, EventArgs e) { _ecoreCount = 0; _anim = EcoreAnimator.AddAnimator(OnEcoreCheck); list.RenderPost += List_RenderPostFrame; }