コード例 #1
0
        private async void BtCast_Clicked(object sender, EventArgs e)
        {
            await LoadReceivers();

            FrChromecastDevices.IsVisible = true;
            await FrChromecastDevices.TranslateTo(
                0,
                DeviceDisplayInfo.ScreenHeight - (chromecastDevices.Count * 50) - On <iOS>().SafeAreaInsets().Bottom - FrChromecastDevices.Padding.VerticalThickness - 100,
                250);
        }
コード例 #2
0
        private async Task CloseReceiversList()
        {
            await FrChromecastDevices.TranslateTo(0, DeviceDisplayInfo.ScreenHeight + 5, 250);

            FrChromecastDevices.IsVisible = false;
        }