Exemple #1
0
        public new void OnClick(View v)
        {
            switch (v.Id)
            {
            case Resource.Id.imgDelete:
                if (OnDeleteClickListener != null)
                {
                    OnDeleteClickListener.OnDelete(Convert.ToInt32(v.Tag.ToString()));
                }
                break;

            case Resource.Id.imgEdit:
                if (OnEditClickListener != null)
                {
                    OnEditClickListener.OnEdit(Convert.ToInt32(v.Tag.ToString()));
                }
                break;

            default:
                if (v.Tag != null)
                {
                    BookmarkActivity.Start(context, Convert.ToInt32(v.Tag.ToString()));
                }
                break;
            }
        }