private void Button_Clicked(object sender, EventArgs e) { string headline = post_title.Text; string description = post_text.Text; string headtitle = "Posted by: " + GlobalVariables.current_user; string profileImage = ""; CardDataModel card = new CardDataModel { HeadTitle = headtitle, HeadLines = headline, HeadLinesDesc = description, ProfileImage = profileImage }; CardDataViewModel cardview = new CardDataViewModel(); cardview.AddCardModel(card); PopupNavigation.Instance.PopAsync(true); }
public MostAppreciated() { ViewModel = new CardDataViewModel(); InitializeComponent(); }
public ViewMore() { ViewModel = new CardDataViewModel(); InitializeComponent(); }
public MainStoriesPage() { ViewModel = new CardDataViewModel(); InitializeComponent(); }