public ContactsTab()
        {
            InitializeComponent();

            try
            {
                var device   = Resolver.Resolve <IDevice>();
                var oNetwork = device.Network;
                var xx       = oNetwork.InternetConnectionStatus() == NetworkStatus.NotReachable;
                if (xx == true)
                {
                    var GetContactList = SQL_Commander.GetContactCacheList();
                    if (GetContactList.Count >= 0)
                    {
                        Device.BeginInvokeOnMainThread(() =>
                        {
                            ContactListview.IsVisible  = true;
                            EmptyContactPage.IsVisible = false;
                        });
                    }
                    else
                    {
                        Device.BeginInvokeOnMainThread(() =>
                        {
                            ContactListview.IsVisible  = false;
                            EmptyContactPage.IsVisible = true;
                        });
                        UserDialogs.Instance.Toast("Offline Mode");
                    }
                    ContactListview.ItemsSource = GetContactList;
                }
                else
                {
                    ContactsLoader();
                }
            }
            catch (Exception)
            {
            }
            // ContactListview.ItemsSource = Functions.ChatContactsList;
        }