Created
November 4, 2010 19:25
-
-
Save mgroves/663029 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
private void saveButton_Click(object sender, EventArgs e) | |
{ | |
var portfolioName = FindViewById<EditText>(Resource.id.portfolioName); | |
_repo.SavePortfolio(new Portfolio() {Name = portfolioName.Text.ToString()}); | |
Toast.MakeText(this, "You saved: " + portfolioName.Text, ToastLength.Short).Show(); | |
var intent = new Intent(); | |
SetResult(Result.Ok, intent); | |
Finish(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment