Ejemplo n.º 1
0
 public ChatPage(Models.User user, GroupChannel channel)
 {
     InitializeComponent();
     BindingContext = vm = new ChatViewModel();
     vm.Channel     = channel;
     //vm.Title = user.Nickname;
     vm.UserName = Settings.ChatID;
     vm.Load();
     instance = this;
 }
Ejemplo n.º 2
0
        public ChatPage(UserInfo user, GroupChannel channel)
        {
            InitializeComponent();

            BindingContext = vm = new ChatViewModel();
            vm.Channel = channel;
            //Page_Title.Text = user.FirstName;
            vm.Title = user.FirstName;
            vm.UserName = Settings.ChatID;
            vm.Load();
            instance = this;
        }