Ejemplo n.º 1
0
        private void LstView_ItemTapped(object sender, ItemTappedEventArgs e)
        {
            var           user  = (UserInfo)e.Item;
            List <string> users = new List <string>()
            {
                Settings.ChatID,
                user.ChatID
            };

            ((ListView)sender).SelectedItem = null;
            vm.ConnectToChannel(user, users);
        }
Ejemplo n.º 2
0
        void LstView_ItemSelected(object sender, Xamarin.Forms.ItemTappedEventArgs e)
        {
            var           user  = (Models.User)e.Item;
            List <string> users = new List <string>()
            {
                Settings.ChatID,
                user.ChatID
            };

            ((ListView)sender).SelectedItem = null;
            vm.ConnectToChannel(user, users);
        }