Exemplo n.º 1
0
        public override RecyclerView.ViewHolder OnCreateViewHolder(ViewGroup parent, int viewType)
        {
            var destinationViewHolder = new DestinationViewHolder(parent.Inflate(Resource.Layout.adapter_destination));

            destinationViewHolder.SelectedWithViewModel.Subscribe(x => whenItemSelected.OnNext(x));
            return(destinationViewHolder);
        }