02-26-2013 10:45 PM - edited 02-26-2013 10:57 PM
I have a Page which I have controls to allow for data submission. I have a Button which I want to set with a value from a DataModel. I thought that I could use a ListView with visable=false. Then I click on the buttom, the ListView would become visable and the list data displayed. Selecting one of the list items would hide the ListView and change the Button text to the value in the ListView. Is this the best way or is there another way? Should the data model only load once I click the button and display an ActivityIndicator while loading?
I guess I could also use a sheet since this page is in a navigation sheet. If I do it that way, does anyone have an example of how I pass the information back to the button?
Just looking for thoughts on the best solution.