public ConverstationAdapter(Activity context, ConversationsViewModel viewModel)
		{
			this.context = context;
			this.viewModel = viewModel;
			viewModel.Conversations.CollectionChanged += (sender, e) => context.RunOnUiThread (NotifyDataSetChanged);

		}
Exemple #2
0
 public ConverstationAdapter(Activity context, ConversationsViewModel viewModel)
 {
     this.context   = context;
     this.viewModel = viewModel;
     viewModel.Conversations.CollectionChanged += (sender, e) => context.RunOnUiThread(NotifyDataSetChanged);
 }