Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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