private void MAdapterOnItemClick(object sender, LastGroupChatsAdapterClickEventArgs e) { try { var position = e.Position; if (position >= 0) { var item = MAdapter.GetItem(position); if (item != null) { Intent intent = new Intent(Context, typeof(GroupChatWindowActivity)); intent.PutExtra("GroupId", item.GroupId); intent.PutExtra("GroupObject", JsonConvert.SerializeObject(item)); intent.PutExtra("ShowEmpty", "no"); StartActivity(intent); } } } catch (Exception exception) { Console.WriteLine(exception); } }