internal ElectricFanLoadingRenderer(Context context) : base(context)
 {
     AnimatorListener = new AnonymousAnimatorListenerAdapter {
         Repeat = amor => this.Reset()
     };
     Init(context);
     SetupPaint();
     AddRenderListener(AnimatorListener);
 }
Example #2
0
 internal GearLoadingRenderer(Context context) : base(context)
 {
     AnimatorListener = new AnonymousAnimatorListenerAdapter
     {
         Start  = amor => this.mRotationCount = 0,
         Repeat = amor => {
             this.StoreOriginals();
             this.mStartDegrees  = this.mEndDegrees;
             this.mRotationCount = (this.mRotationCount + 1) % NUM_POINTS;
         },
     };
     Init(context);
     SetupPaint();
     AddRenderListener(AnimatorListener);
 }
Example #3
0
 protected internal virtual void AddRenderListener(Animator.IAnimatorListener animatorListener)
 {
     RenderAnimator.AddListener(animatorListener);
 }