private void InitUIComponents(View rootView)
            {
                mListView            = rootView.FindViewById(Resource.Id.list) as ListView;
                mListView.Adapter    = mAdapter;
                mListView.ItemClick += (sender, e) => {
                    MessagingChannel messagingChannel = mAdapter[e.Position];
                    if (OnMessagingChannelSelected != null)
                    {
                        OnMessagingChannelSelected(this, new MessagingChannelEventArgs(messagingChannel));
                    }
                };
                mListView.ItemLongClick += (sender, e) => {
                    MessagingChannel messagingChannel = mAdapter[e.Position];
                    var builder = new Android.App.AlertDialog.Builder(this.Activity);
                    builder.SetTitle("Leave");
                    builder.SetMessage("Do you want to leave this channel?");
                    builder.SetPositiveButton("Leave", (sender_child, e_child) => {
                        mAdapter.Remove(e.Position);
                        mAdapter.NotifyDataSetChanged();
                        SendBirdSDK.EndMessaging(messagingChannel.GetUrl());
                    });
                    builder.SetNeutralButton("Hide", (sender_child, e_child) => {
                        mAdapter.Remove(e.Position);
                        mAdapter.NotifyDataSetChanged();
                        SendBirdSDK.HideMessaging(messagingChannel.GetUrl());
                    });
                    builder.SetNegativeButton("Cancel", (EventHandler <DialogClickEventArgs>)null);

                    var dialog = builder.Create();
                    dialog.Show();
                };
            }