private void OnViewSlider(object sender, PanUpdatedEventArgs e)
{
if (e.StatusType == GestureStatus.Started)
{
guesture_start = TopRowScrollView.Height;
}
if (e.StatusType == GestureStatus.Running)
{
double current = TopRowScrollView.Height;
double deltaOrTotal = e.TotalY;
double correct = guesture_start + deltaOrTotal;
double android = current + deltaOrTotal;
correct = DeviceInfo.Platform == DevicePlatform.Android ? android : correct;
TopRow.Height = Math.Max(correct, 50.0);
}
}
private void OnViewSlider(object sender, PanUpdatedEventArgs e)
{
if (e.StatusType == GestureStatus.Started)
{
guesture_start = TopRowScrollView.Height;
}
if (e.StatusType == GestureStatus.Running)
{
double current = TopRowScrollView.Height;
double deltaOrTotal = e.TotalY;
double correct = guesture_start + deltaOrTotal;
double android = current + deltaOrTotal;
correct = DeviceInfo.Platform == DevicePlatform.Android ? android : correct;
TopRow.Height = Math.Max(correct, 50.0);
}
}