public override void OnBindViewHolder(RecyclerView.ViewHolder holder, int position) { GofBaseAdapter myHolder = holder as GofBaseAdapter; Project project = this.listProjects[position]; myHolder.Get <TextView>(Resource.Id.title).Text = project.name; myHolder.Get <TextView>(Resource.Id.description).Text = project.description; myHolder.Get <TextView>(Resource.Id.participants).Text = "Duracion " + project.estimated_hours + " horas"; }
public override void OnBindViewHolder(RecyclerView.ViewHolder holder, int position) { GofBaseAdapter myHolder = holder as GofBaseAdapter; Developer developer = this.listDevelopers[position]; myHolder.Get <TextView>(Resource.Id.name).Text = developer.first_name + " " + developer.last_name; myHolder.Get <TextView>(Resource.Id.ability).Text = developer.skills; myHolder.ItemView.Click += OnDeveloperSelected; }
public override void OnBindViewHolder(RecyclerView.ViewHolder holder, int position) { GofBaseAdapter myHolder = holder as GofBaseAdapter; Developer developer = this.listDevelopers[position]; myHolder.Get <TextView>(Resource.Id.full_name).Text = developer.first_name + " " + developer.last_name; myHolder.Get <TextView>(Resource.Id.abilities).Text = developer.skills; myHolder.Get <TextView>(Resource.Id.projects).Text = "Experiencia " + developer.experience; }