Created
October 31, 2011 17:20
-
-
Save nicwise/1328056 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
Section sect = new Section(); | |
var stringElement = new Stringelement(etc etc); | |
var floatElement = new MVFloatElement(etc etc); | |
floatElement.OnValueChange += delegate(f) { | |
stringElement.Value = string.Format("I just got {0:0.00}", f); | |
//I think you need to do a reload of the tableview here, so it updates. | |
// | |
// but you need the tableview, and the root has that... | |
//if (TableView != null) | |
// TableView.ReloadData (); | |
}; | |
sect.Add(floatElement); | |
sect.Add(stringElement); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment