private void BindHouseTableViewCell(UITableViewCell cell, HouseCellViewModel viewModel, NSIndexPath indexPath) { (cell as HouseTableViewCell).Bind(viewModel); }
public void Bind(HouseCellViewModel viewModel) { NameLabel.Text = viewModel.Name; WordsLabel.Text = viewModel.Words; CoatOfArmsLabel.Text = viewModel.CoatOfArms; }
public void Bind(HouseCellViewModel viewModel) { _nameTextView.Text = viewModel.Name; _wordsTextView.Text = viewModel.Words; _coatOfArmsTextView.Text = viewModel.CoatOfArms; }
private void BindCellViewHolder(RecyclerView.ViewHolder viewHolder, HouseCellViewModel viewModel, int position) { (viewHolder as HouseViewHolder).Bind(_viewModel.Houses[position]); _viewModel.WillDisplayCellAtIndex(position); }