Hi, i wanted to change the text of an entry before user starts to type. My code blocked keyboard to raise. User needs to touch again to entry to focus and see the keyboard. Thanks in advance.
ScrollView CreateLayout()
{
Entry userNameEditor = new Entry() { Text = userNameEditorEmptyString };
userNameEditor.Focused += (sender, args) => { if (userNameEditor.Text == userNameEditorEmptyString) userNameEditor.Text = userNameEditorPrefilledString; };
userNameEditor.Unfocused += (sender, args) => { if (userNameEditor.Text == userNameEditorPrefilledString) userNameEditor.Text = userNameEditorEmptyString; };
...
}