public CollapsingAnimation(CompactCalendarView view, CompactCalendarController compactCalendarController, int targetHeight, bool down) { this.view = view; this.compactCalendarController = compactCalendarController; this.targetHeight = targetHeight; this.down = down; }
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 AnimationHandler(CompactCalendarController compactCalendarController, CompactCalendarView compactCalendarView) { this.compactCalendarController = compactCalendarController; this.compactCalendarView = compactCalendarView; }