internal NoteAdapterViewHolder(IItemClickListener clickHandler, View itemView) : base(itemView)
        {
            listener = clickHandler;
            NoteText = itemView.FindViewById <TextView>(Resource.Id.noteText);
            NoteDate = itemView.FindViewById <TextView>(Resource.Id.noteDate);

            itemView.SetOnClickListener(this);
        }
 // Click Events but Overriden Implementation given below
 public void SetItemClickListener(IItemClickListener itemClickListener)
 {
     this.itemClickListener = itemClickListener;
 }
 public NoteAdapter(Context context, IItemClickListener listener)
 {
     this.listener = listener;
     notes         = new List <Note>();
 }
Exemple #4
0
 public void SetClickListener(IItemClickListener itemClickListener)
 {
     clickListener = itemClickListener;
 }