public AvatarAdapter(Activity context, ProfileViewModel viewModel)
		{
			this.context = context;
			this.viewModel = viewModel;
			viewModel.Avatars.CollectionChanged += (sender, e) => context.RunOnUiThread (NotifyDataSetChanged);

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