public ChatPage() { InitializeComponent(); MessagingCenter.Subscribe <Pages.ConversationPage, Model.Conversation>(this, "ConvoProp", (page, data) => { rm = data; _lstChat.BindingContext = db.subChat(data.Key); GroupTitle.Text = data.Name; ConvoKey = data.Key; MessagingCenter.Unsubscribe <Pages.ConversationPage, Model.Conversation>(this, "ConvoProp"); }); }
//New Conversation public async Task createConversation(Model.Conversation convo) { await fbClient.Child("Conversation") .PostAsync(convo); }