0

Update the Activity based on what item is selected in the Spinner

view story
linux-howto

http://stackoverflow.com – In the current Activity i'm printing a graph (using Androidplot) of the closing prices of a selected stock from the previous activity. In this activity i have a spinner of a list of indicators the user can overlay. Now i want the graph to be redrawn with this new selection from the spinner. I did try refreshing/reloading the page onItemSelected but that causes the page to keep refreshing even without waiting for a user input. CODE: public class DispGraph extends Activity { private XYPlot plotstock; @Override protected void onCreate(Bundle savedInstanceState) { // TODO Auto-generated me (HowTos)