Exemplo n.º 1
0
        public ChatNewConversationPage(IChatController controller, ChatPage chatPage)
        {
            InitializeComponent();
            var vm = new ChatNewConversationViewModel(controller, chatPage);

            BindingContext = vm;

            ContactsListView.ItemSelected += vm.SelectContactHandler;
        }
        public ConversationPage(IChatController controller, ChatPage chatPage, ChatNewConversationPage chatNewConversationPage)
        {
            InitializeComponent();

            var vm = new ConversationPageViewModel(controller, chatPage, chatNewConversationPage);

            BindingContext = vm;

            ConversationListView.ItemSelected += vm.SelctedItemHandler;

            //Convert.FromBase64String();
        }