예제 #1
0
        public void DisplayView(string groupTitle, string distance, string meetingTime, int groupId)
        {
            // store the group ID as we'll need it if they hit submit
            GroupID = groupId;

            // set the group title
            GroupTitle.Text = groupTitle;
            GroupTitle.SizeToFit( );

            // set the details for the group (distance, meeting time, etc)
            GroupDetails.Text          = meetingTime + "\n" + distance;
            GroupDetails.TextAlignment = TextAlignment.Center;
            GroupDetails.SizeToFit( );

            FirstName.Text = MobileApp.Shared.Network.RockMobileUser.Instance.Person.NickName;
            LastName.Text  = MobileApp.Shared.Network.RockMobileUser.Instance.Person.LastName;


            Email.Text     = MobileApp.Shared.Network.RockMobileUser.Instance.Person.Email;
            CellPhone.Text = MobileApp.Shared.Network.RockMobileUser.Instance.CellPhoneNumberDigits( );

            ResultView.Hide( );
        }