Esempio n. 1
0
        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();
 }
Esempio n. 3
0
 public ViewMore()
 {
     ViewModel = new CardDataViewModel();
     InitializeComponent();
 }
Esempio n. 4
0
 public MainStoriesPage()
 {
     ViewModel = new CardDataViewModel();
     InitializeComponent();
 }