Skip to content

Instantly share code, notes, and snippets.

@cullen-tsering
Last active August 29, 2015 14:23
Show Gist options
  • Save cullen-tsering/19c78587a14d65a67efb to your computer and use it in GitHub Desktop.
Save cullen-tsering/19c78587a14d65a67efb to your computer and use it in GitHub Desktop.
Xamarin Widget Helper
public static class WidgetHelper
{
// sets text and move caret to the end of the line
public static void SetText (this EditText edt, string textToSet){
edt.Text = textToSet;
edt.Append("");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment