async Task SwipeAnimateOutAsync(int dir) { Poster.TranslateTo(500 * dir, Y); await Poster.RotateTo(100 *dir * 2); Poster.Rotation = 0; }
async Task TiltLeft() { await Poster.RotateTo(-TILT_AMOUNT, TILT_SPEED); DislikeDropOn.FadeTo(100); DislikeDropOff.FadeTo(0); }
async Task TiltRight() { await Poster.RotateTo(TILT_AMOUNT, TILT_SPEED); LikeDropOn.FadeTo(100); LikeDropOff.FadeTo(0); }
async Task TiltReset() { await Poster.RotateTo(0, TILT_SPEED); LikeDropOn.FadeTo(0); LikeDropOff.FadeTo(100); DislikeDropOn.FadeTo(0); DislikeDropOff.FadeTo(100); }