コード例 #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);
        }
コード例 #2
0
 public MostAppreciated()
 {
     ViewModel = new CardDataViewModel();
     InitializeComponent();
 }
コード例 #3
0
 public ViewMore()
 {
     ViewModel = new CardDataViewModel();
     InitializeComponent();
 }
コード例 #4
0
 public MainStoriesPage()
 {
     ViewModel = new CardDataViewModel();
     InitializeComponent();
 }