Ejemplo n.º 1
0
 internal ElectricFanLoadingRenderer(Context context) : base(context)
 {
     AnimatorListener = new AnonymousAnimatorListenerAdapter {
         Repeat = amor => this.Reset()
     };
     Init(context);
     SetupPaint();
     AddRenderListener(AnimatorListener);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 3
0
 protected internal virtual void AddRenderListener(Animator.IAnimatorListener animatorListener)
 {
     RenderAnimator.AddListener(animatorListener);
 }