private void BindRxHolder(ChatRxHolder vh, int position)
 {
     if (vh != null)
     {
         vh.Text.Text = Messages[position]?.Text;
     }
 }
        public override RecyclerView.ViewHolder OnCreateViewHolder(ViewGroup parent, int viewType)
        {
            RecyclerView.ViewHolder vh = null;
            View cell = null;

            switch (viewType)
            {
            case Tx:
                // Inflate the item
                cell = LayoutInflater.From(parent.Context).Inflate(Resource.Layout.chat_cell_tx, parent, false);
                // Create a ViewHolder to find and hold these view references, and register OnClick with the view holder:
                vh = new ChatTxHolder(cell);
                break;

            case Rx:
                // Inflate the item
                cell = LayoutInflater.From(parent.Context).Inflate(Resource.Layout.chat_cell_rx, parent, false);
                // Create a ViewHolder to find and hold these view references, and register OnClick with the view holder:
                vh = new ChatRxHolder(cell);
                break;
            }
            return(vh);
        }