コード例 #1
0
        private void Overshoot()
        {
            try
            {
                if (_animatedView != null)
                {
                    var interpolator = new OvershootInterpolator();

                    _animator.TranslationY(DeltaXY.YDelta);
                    _animator.SetDuration(GetResourceAnimationTimeValue()); //duration
                    _animator.SetInterpolator(interpolator);

                    _animator.Start();
                }
            }
            catch (Exception e)
            {
                Log.Error(TAG, "Overshoot: Exception - " + e.Message);
            }
        }