Created
March 11, 2017 17:56
-
-
Save dsibinski/f5b27956b31e09db96167eeca264ee8a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected override void OnStart() | |
{ | |
base.OnStart(); | |
RefreshUserInputsFromVariables(); | |
} | |
// ... | |
private void RefreshUserInputsFromVariables() | |
{ | |
_inputAmount.SetText(_amount.ToString(CultureInfo.InvariantCulture), TextView.BufferType.Editable); | |
_txtResultDecimal.SetText(_result.ToString(CultureInfo.InvariantCulture), TextView.BufferType.Editable); | |
_inputNumberOfPeople.SetText(_numberOfPeople.ToString(CultureInfo.InvariantCulture), | |
TextView.BufferType.Editable); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment