Beispiel #1
0
        public override void OnBindViewHolder(RecyclerView.ViewHolder holder, int position)
        {
            PublicationsAdaptorViewHolder vh = (PublicationsAdaptorViewHolder)holder;

            vh.Publication = publicationList[position];
            vh.UpdateWholePublication();
        }
Beispiel #2
0
        public override RecyclerView.ViewHolder OnCreateViewHolder(ViewGroup parent, int viewType)
        {
            View v = LayoutInflater.From(parent.Context)
                     .Inflate(Resource.Layout.publication_item, parent, false);
            PublicationsAdaptorViewHolder vh = new PublicationsAdaptorViewHolder(v, this);

            return(vh);
        }
Beispiel #3
0
 public PublicationItemClickListener(PublicationsAdaptorViewHolder vh)
 {
     this.vh = vh;
 }
Beispiel #4
0
 public DownloadButtonClickListener(PublicationsAdaptorViewHolder vh)
 {
     this.vh = vh;
 }
Beispiel #5
0
 public InfoButtonClickListener(PublicationsAdaptorViewHolder vh)
 {
     this.vh = vh;
 }