public Subscriptions_Page()
        {
            try
            {
                InitializeComponent();

                if (Settings.VimeoStyle)
                {
                    TopHeaderBAR.IsVisible = false;
                }

                if (Hamburg_Page.IsLogin)
                {
                    if (MyChannel_Page.Avatar != null)
                    {
                        AvatarImage.Source = ImageSource.FromUri(new Uri(MyChannel_Page.Avatar));
                    }
                    else
                    {
                        AvatarImage.Source = "NoProfileImage.png";
                    }

                    if (Classes.SubscriptionsVideoesList.Count == 0)
                    {
                        SubscriptionsListView.BeginRefresh();
                    }
                    SubscriptionsListView.ItemsSource = Classes.SubscriptionsVideoesList;
                }
                else
                {
                    tryagainButton.IsVisible        = false;
                    EmptyPage.IsVisible             = true;
                    SubscriptionsListView.IsVisible = false;
                    TitleStackLayout.IsVisible      = false;

                    SubscriptionsListView.EndRefresh();
                    Icon_page.Text     = "\uf119";
                    Lbl_Dont_have.Text = AppResources.Label_Sorry_I_can_not_access;
                    Lbl_no_Videos.Text = AppResources.Label_please_login_to_view_your_subscriptions;
                }

                StyleThemeChanger();
            }
            catch (Exception ex)
            {
                var exception = ex.ToString();
            }
        }
        //Get Subscriptions Videos Or Channel
        public async void Get_Subscriptions_VideosOrChannel_Api()
        {
            try
            {
                if (!CrossConnectivity.Current.IsConnected)
                {
                    // await DisplayAlert(AppResources.Label_Error, AppResources.Label_Check_Your_Internet, AppResources.Label_OK);

                    SubscriptionsListView.EndRefresh();

                    Icon_page.Text     = "\uf119";
                    Lbl_Dont_have.Text = AppResources.Label_Offline_Mode;
                    Lbl_no_Videos.Text = AppResources.Label_Check_Your_Internet;

                    EmptyPage.IsVisible             = true;
                    SubscriptionsListView.IsVisible = false;
                    TitleStackLayout.IsVisible      = false;
                }
                else
                {
                    await Task.Run(async() =>
                    {
                        await Task.Delay(5000);

                        if (Hamburg_Page.IsLogin)
                        {
                            Classes.SubscriptionsChannelList.Clear();
                            Classes.SubscriptionsVideoesList.Clear();

                            ChannelStack.Children.Clear();

                            List <string> listOfSubscriptions = new List <string>();
                            listOfSubscriptions.Add("1");     //Channel
                            listOfSubscriptions.Add("false"); //Videos

                            foreach (var subscriptions in listOfSubscriptions)
                            {
                                var dataSubscriptions = await API_Request.Get_Subscriptions_VideosOrChannel_Http(subscriptions, "0", "20");
                                if (dataSubscriptions != null)
                                {
                                    SubscriptionsListView.IsVisible = true;
                                    ChannelStack.IsVisible          = true;
                                    EmptyPage.IsVisible             = false;

                                    if (subscriptions == "1")
                                    {
                                        foreach (var AllChannel in dataSubscriptions)
                                        {
                                            JObject Items = JObject.FromObject(AllChannel);

                                            Classes.Channel ch = new Classes.Channel();

                                            string id         = Items["id"].ToString();
                                            string username   = Items["username"].ToString();
                                            string email      = Items["email"].ToString();
                                            string first_name = Items["first_name"].ToString();
                                            string last_name  = Items["last_name"].ToString();
                                            string gender     = Items["gender"].ToString();
                                            string language   = Items["language"].ToString();
                                            string avatar     = Items["avatar"].ToString();
                                            string cover      = Items["cover"].ToString();
                                            string about      = "";
                                            try
                                            {
                                                about = Functions.StringNullRemover(Functions.DecodeStringWithEnter(Functions.DecodeString(Items["about"].ToString())));
                                            }
                                            catch (Exception ex)
                                            {
                                                var exception = ex.ToString();
                                            }
                                            string google   = Items["google"].ToString();
                                            string facebook = Items["facebook"].ToString();
                                            string twitter  = Items["twitter"].ToString();
                                            string verified = Items["verified"].ToString();
                                            string is_pro   = Items["is_pro"].ToString();
                                            string url      = Items["url"].ToString();

                                            if (Settings.DarkTheme)
                                            {
                                                ch.SC_BackgroundColor = "#bcbcbc";
                                                ch.SC_TextColor       = "#ffff";
                                            }
                                            else
                                            {
                                                ch.SC_TextColor       = "#444";
                                                ch.SC_BackgroundColor = "#ffff";
                                            }

                                            ch.Channel_id         = id;
                                            ch.Channel_username   = username;
                                            ch.Channel_email      = email;
                                            ch.Channel_first_name = first_name;
                                            ch.Channel_last_name  = last_name;
                                            ch.Channel_gender     = gender;
                                            ch.Channel_language   = language;
                                            ch.Channel_avatar     = avatar;
                                            ch.Channel_cover      = cover;
                                            ch.Channel_about      = about;
                                            ch.Channel_google     = google;
                                            ch.Channel_facebook   = facebook;
                                            ch.Channel_twitter    = twitter;
                                            ch.Channel_verified   = verified;
                                            ch.Channel_is_pro     = is_pro;
                                            ch.Channel_url        = url;

                                            Device.BeginInvokeOnMainThread(() =>
                                            {
                                                var checker_Channel = Classes.SubscriptionsChannelList.FirstOrDefault(a => a.Channel_id == ch.Channel_id);
                                                if (checker_Channel == null)
                                                {
                                                    //Add list All data Channel
                                                    Classes.SubscriptionsChannelList.Add(ch);
                                                }
                                            });
                                        }
                                    }
                                    else
                                    { //Add list All data Videos
                                        foreach (var All in dataSubscriptions)
                                        {
                                            Classes.Subscriptions s = new Classes.Subscriptions();

                                            try
                                            {
                                                var id                 = All["id"].ToString();
                                                var video_id           = All["video_id"].ToString();
                                                var user_id            = All["user_id"].ToString();
                                                var title              = All["title"].ToString();
                                                var description        = All["description"].ToString();
                                                var thumbnail          = All["thumbnail"].ToString();
                                                var video_location     = All["video_location"].ToString();
                                                var youtube            = All["youtube"].ToString();
                                                var vimeo              = All["vimeo"].ToString();
                                                var daily              = All["daily"].ToString();
                                                var time               = All["time"].ToString();
                                                var time_date          = All["time_date"].ToString();
                                                var active             = All["active"].ToString();
                                                var tags               = All["tags"].ToString();
                                                var duration           = All["duration"].ToString();
                                                var size               = All["size"].ToString();
                                                var category_id        = All["category_id"].ToString();
                                                var views              = All["views"].ToString();
                                                var featured           = All["featured"].ToString();
                                                var registered         = All["registered"].ToString();
                                                var org_thumbnail      = All["org_thumbnail"].ToString(); //Video_Image
                                                var video_type         = All["video_type"].ToString();
                                                var video_id_          = All["video_id_"].ToString();
                                                var source             = All["source"].ToString();
                                                var url                = All["url"].ToString();
                                                var edit_description   = All["edit_description"].ToString();
                                                var markup_description = All["markup_description"].ToString();
                                                var is_liked           = All["is_liked"].ToString();
                                                var is_disliked        = All["is_disliked"].ToString();
                                                var is_owner           = All["is_owner"].ToString();
                                                var time_alpha         = All["time_alpha"].ToString();
                                                var time_ago           = All["time_ago"].ToString();
                                                var category_name      = All["category_name"].ToString();

                                                //style
                                                s.SV_Type_video = "Subcribed";

                                                //Data video
                                                s.dv_id                 = id;
                                                s.dv_video_id           = video_id;
                                                s.dv_user_id            = user_id;
                                                s.dv_title              = Functions.SubStringCutOf(Functions.DecodeStringWithEnter(Functions.DecodeString(title)), 30);
                                                s.dv_description        = Functions.SubStringCutOf(Functions.DecodeStringWithEnter(Functions.DecodeString(description)), 60);
                                                s.dv_Long_title         = Functions.DecodeStringWithEnter(Functions.DecodeString(title));
                                                s.dv_Long_description   = Functions.DecodeStringWithEnter(Functions.DecodeString(description));
                                                s.dv_thumbnail          = thumbnail;
                                                s.dv_video_location     = video_location;
                                                s.dv_youtube            = youtube;
                                                s.dv_vimeo              = vimeo;
                                                s.dv_daily              = daily;
                                                s.dv_time               = time;
                                                s.dv_time_date          = time_date;
                                                s.dv_active             = active;
                                                s.dv_tags               = tags;
                                                s.dv_duration           = duration;
                                                s.dv_size               = size;
                                                s.dv_category_id        = category_id;
                                                s.dv_views              = Functions.FormatPriceValue(Convert.ToInt32(views)) + " " + AppResources.Label_Views;
                                                s.dv_featured           = featured;
                                                s.dv_registered         = registered;
                                                s.dv_org_thumbnail      = org_thumbnail;
                                                s.dv_video_type         = video_type;
                                                s.dv_video_id_          = video_id_;
                                                s.dv_source             = source;
                                                s.dv_url                = url;
                                                s.dv_edit_description   = edit_description;
                                                s.dv_markup_description = markup_description;
                                                s.dv_is_liked           = is_liked;
                                                s.dv_is_disliked        = is_disliked;
                                                s.dv_is_owner           = is_owner;
                                                s.dv_time_alpha         = time_alpha;
                                                s.dv_time_ago           = time_ago;
                                                s.dv_category_name      = category_name;

                                                try //owner
                                                {
                                                    JObject Owner = JObject.FromObject(All["owner"]);

                                                    var O_id       = Owner["id"].ToString();
                                                    var username   = Owner["username"].ToString();
                                                    var email      = Owner["email"].ToString();
                                                    var first_name = Owner["first_name"].ToString();
                                                    var last_name  = Owner["last_name"].ToString();
                                                    var gender     = Owner["gender"].ToString();
                                                    var language   = Owner["language"].ToString();
                                                    var avatar     = Owner["avatar"].ToString();
                                                    var cover      = Owner["cover"].ToString();
                                                    string about   = "";
                                                    try
                                                    {
                                                        about = Functions.StringNullRemover(Owner["about"].ToString());
                                                    }
                                                    catch (Exception ex)
                                                    {
                                                        var exception = ex.ToString();
                                                    }
                                                    var google   = Owner["google"].ToString();
                                                    var facebook = Owner["facebook"].ToString();
                                                    var twitter  = Owner["twitter"].ToString();
                                                    var verified = Owner["verified"].ToString();
                                                    var is_pro   = Owner["is_pro"].ToString();
                                                    var O_url    = Owner["url"].ToString();

                                                    s.Owner_id         = O_id;
                                                    s.Owner_username   = username;
                                                    s.Owner_email      = email;
                                                    s.Owner_first_name = first_name;
                                                    s.Owner_last_name  = last_name;
                                                    s.Owner_gender     = gender;
                                                    s.Owner_language   = language;
                                                    s.Owner_avatar     = avatar;
                                                    s.Owner_cover      = cover;
                                                    s.Owner_about      = about;
                                                    s.Owner_google     = google;
                                                    s.Owner_facebook   = facebook;
                                                    s.Owner_twitter    = twitter;
                                                    if (verified == "0")
                                                    {
                                                        s.Owner_verified = "false";
                                                    }
                                                    else
                                                    {
                                                        s.Owner_verified = "true";
                                                    }
                                                    s.Owner_is_pro = is_pro;
                                                    s.Owner_url    = O_url;
                                                }
                                                catch (Exception ex)
                                                {
                                                    var exception = ex.ToString();
                                                }
                                                Device.BeginInvokeOnMainThread(() =>
                                                {
                                                    var checker_Video = Classes.SubscriptionsVideoesList.FirstOrDefault(a => a.dv_id == s.dv_id);
                                                    if (checker_Video == null)
                                                    {
                                                        //Add list All data Video
                                                        Classes.SubscriptionsVideoesList.Add(s);
                                                    }
                                                });
                                            }
                                            catch (Exception ex)
                                            {
                                                var exception = ex.ToString();
                                            }
                                        }
                                    }
                                }
                                else
                                {
                                    SubscriptionsListView.EndRefresh();
                                    Icon_page.Text           = "\uf03d";
                                    Lbl_Dont_have.Text       = AppResources.Label_Empty_Videos;
                                    Lbl_no_Videos.Text       = AppResources.Label_There_are_no_subscriptions;
                                    tryagainButton.IsVisible = true;

                                    EmptyPage.IsVisible             = true;
                                    SubscriptionsListView.IsVisible = false;
                                    ChannelStack.IsVisible          = false;
                                }
                            }
                            Device.BeginInvokeOnMainThread(() =>
                            {
                                SubscriptionsListView.EndRefresh();
                                SubscriptionsListView.IsVisible = true;
                                ChannelStack.IsVisible          = true;

                                EmptyPage.IsVisible = false;

                                Add_Channel_Users(Classes.SubscriptionsChannelList);                  //Add list All data Channel
                                SubscriptionsListView.ItemsSource = Classes.SubscriptionsVideoesList; //Add list All data Video
                            });
                        }
                        else
                        {
                            tryagainButton.IsVisible        = false;
                            EmptyPage.IsVisible             = true;
                            SubscriptionsListView.IsVisible = false;
                            ChannelStack.IsVisible          = false;


                            SubscriptionsListView.EndRefresh();
                            Icon_page.Text     = "\uf119";
                            Lbl_Dont_have.Text = AppResources.Label_Sorry_I_can_not_access;
                            Lbl_no_Videos.Text = AppResources.Label_please_login_to_view_your_subscriptions;
                        }
                    });
                }
            }
            catch (Exception ex)
            {
                SubscriptionsListView.EndRefresh();

                Icon_page.Text           = "\uf03d";
                Lbl_Dont_have.Text       = AppResources.Label_Empty_Videos;
                Lbl_no_Videos.Text       = AppResources.Label_There_are_no_subscriptions;
                tryagainButton.IsVisible = true;

                EmptyPage.IsVisible             = true;
                SubscriptionsListView.IsVisible = false;
                TitleStackLayout.IsVisible      = false;

                var exception = ex.ToString();
            }
        }