/// <summary>
        /// <description>Login</description>
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void onLoginClicked(object sender, EventArgs e)
        {
            try
            {
                if (string.IsNullOrEmpty(txtUserName.Text) || string.IsNullOrEmpty(txtPasword.Text))
                {
                    Snackbar.Make(txtUserName, GetString(Resource.String.require_all_Details), Snackbar.LengthLong).Show();
                    //GlobalConst.alertMessageBox(this, "Requir", "Please Enter All the Details..!!",HandleClicked);
                }
                else
                {
                    if (txtUserName.Text.Trim() == "Admin" && txtPasword.Text.Trim() == "admin")
                    {
                        if (checkRemeberMe.Checked)
                        {
                            UserSettings.UserName = txtUserName.Text;
                            UserSettings.Password = txtPasword.Text;
                            UserSettings.isLogin  = true;
                        }

                        var intent = new Intent(this, typeof(EmployeeListActivity));
                        StartActivity(intent);
                        Finish();
                        clear();
                    }
                    else
                    {
                        GlobalConst.alertMessageBox(this, "", "Invalid Username and Password", HandleClicked);
                    }
                }
            }
            catch (Exception ex)
            {
                Toast.MakeText(this, GetString(Resource.String.somthing_wrong), ToastLength.Short).Show();
            }
        }
        public override View GetView(int position, View convertView, ViewGroup parent)
        {
            var view = convertView;

            try
            {
                EmployeeListAdapterViewHolder holder = null;

                view = LayoutInflater.From(parent.Context).Inflate(Resource.Layout.EmployeeListRow, parent, false);

                var photo          = view.FindViewById <ImageView>(Resource.Id.photoImageView);
                var name           = view.FindViewById <TextView>(Resource.Id.nameTextView);
                var designation    = view.FindViewById <TextView>(Resource.Id.designationTextView);
                var deleteEmployee = view.FindViewById <ImageButton>(Resource.Id.btnDelete);
                var updateEmployee = view.FindViewById <ImageButton>(Resource.Id.btnUpdate);
                //delete.Click += deleteRow();

                view.Tag = new EmployeeListAdapterViewHolder()
                {
                    Photo = photo, Name = name, Designation = designation, DeleteEmployee = deleteEmployee, UpdateEmployee = updateEmployee
                };

                if (view != null)
                {
                    holder = (EmployeeListAdapterViewHolder)view.Tag;
                }

                byte[] decodedImageString = Base64.Decode(employeeInfo[position].imgUrl, Base64.Default);
                Bitmap imageByte          = BitmapFactory.DecodeByteArray(decodedImageString, 0, decodedImageString.Length);

                holder.Name.Text        = employeeInfo[position].name;
                holder.Designation.Text = employeeInfo[position].designation;
                holder.Photo.SetImageBitmap(imageByte);
                //holder.Delete.Click
                if (!holder.DeleteEmployee.HasOnClickListeners)
                {
                    holder.DeleteEmployee.Click += (sender, e) =>
                    {
                        n = position;
                        GlobalConst.alertMessageBox(view.Context, "Delete Item", "Are You sure You want to delete item?", HandleClicked);

                        NotifyDataSetChanged();
                    };
                }

                if (!holder.UpdateEmployee.HasOnClickListeners)
                {
                    holder.UpdateEmployee.Click += (sender, e) =>
                    {
                        n = position;
                        //Toast.MakeText(view.Context, "Update click" + n, ToastLength.Short).Show();
                        var intent = new Intent(view.Context, typeof(UpateEmployeeProfileActivity));
                        intent.PutExtra("dataPosition", n);
                        view.Context.StartActivity(intent);
                    };
                }
            }
            catch (Exception)
            {
                //Toast.MakeText(view.Context, "", ToastLength.Short).Show();
            }
            return(view);
        }