private void OnAboutLabelClicked(object s, EventArgs e) { Label label = (Label)s; AboutItem itemToPop = aboutItems.Find(X => X.id == label.ClassId); MPopUpPage mPopUpPage = new MPopUpPage(itemToPop); mMenu.PopUp(mPopUpPage); }
private void OnWorkLabelClicked(object s, EventArgs e) //popup happens { Label label = (Label)s; WorkItem workItem = workItems.Find(x => x.id == label.ClassId); MPopUpPage mPopUpPage = new MPopUpPage(workItem); home.mMenu.PopUp(mPopUpPage); }
public async Task buildBlogDetail() { blogDetailRetriever = new DataRetriever(UrlForData); await blogDetailRetriever.ReadByUrl(); BlogDetailData = blogDetailRetriever.RawJson; BlogDetailItem blogDetailitem = JsonConvert.DeserializeObject <BlogDetailItem>(BlogDetailData); MPopUpPage mPopUpPage = new MPopUpPage(blogDetailitem); mBlogpage.mMenu.PopUp(mPopUpPage); }