private void InitializeView() { // SET ACTIVITY INDICATOR var loader = new ActivityIndicator() { Color = Color.White, WidthRequest = 50, HeightRequest = 50, HorizontalOptions = LayoutOptions.Center, VerticalOptions = LayoutOptions.Center }; loader.SetBinding(ActivityIndicator.IsRunningProperty, "IsBusy"); // INITIALIZE NATIVE PLAYER nativePlayer = new NativePlayer(); nativePlayer.SeekBarPositionChanged += OnVideoPlayerSeekBarPositionChange; nativePlayer.Prepared += OnVideoPlayerPrepared; nativePlayer.Completed += OnVideoPlayerCompleted; nativePlayer.Error += OnVideoPlayerError; nativePlayer.BuffringPositionChanged += OnVideoPlayerBuffringPositionChanged; nativePlayer.DisplaySeekbar += OnDisplaySeekbar; nativePlayer.OnTapped(() => { model.DisplaySeekbar = !model.DisplaySeekbar; }); Children.Add(nativePlayer, 0, 0); Children.Add(loader, 0, 0); // INTIALIZE LABEL TO DISPLAY FILENAME var lblFileName = new Label() { Margin = 10, LineBreakMode = LineBreakMode.MiddleTruncation, HorizontalOptions = LayoutOptions.CenterAndExpand, TextColor = Color.White, VerticalOptions = LayoutOptions.Start, HorizontalTextAlignment = TextAlignment.Center }; lblFileName.SetBinding(IsVisibleProperty, "DisplaySeekbar"); lblFileName.SetBinding(Label.TextProperty, "FileName"); Children.Add(lblFileName, 0, 0); // INTIALIZE TIMELINE CONTAINER InitlializeTimelineControls(); }