Exemple #1
0
 private void Setup(Context context, IAttributeSet attrs, int defStyleAttr)
 {
     compactCalendarController = new CompactCalendarController(new Paint(), new OverScroller(context),
                                                               new Rect(), attrs, context, Color.Argb(255, 233, 84, 81),
                                                               Color.Argb(255, 64, 64, 64), Color.Argb(255, 219, 219, 219), VelocityTracker.Obtain());
     gestureListener  = new CalendarGestureListener(this);
     gestureDetector  = new GestureDetectorCompat(context, gestureListener);
     animationHandler = new AnimationHandler(compactCalendarController, this);
 }
 public CustomUpdateListener(AnimationHandler context)
 {
     _context = context;
 }
 public AnimationHandlerAnimationListener(AnimationHandler context, Animator animIndicator, bool isCollapsing)
 {
     _context       = context;
     _animIndicator = animIndicator;
     _isCollapsing  = isCollapsing;
 }
 public CustomAnimatorListener(AnimationHandler context)
 {
     _context = context;
 }