title: pass view from one activity to another
body: <p>I'm trying to pass a view from one activity to another activity.</p>
  
  <p>In my 1st activity, <code>onButtonClick</code>, I'm navigating to another activity by using <code>Intent</code>.</p>
  
  <p>I've written this line <code>setContentView(R.layout.main);</code> in 1st activity and also declared a <code>graphView</code>.</p>
  
  <p>Now the problem is, I want to populate the <code>graphView</code> in the second activity but it's reference i.e. <code>mySimpleXYPlot = (XYPlot) findViewById(R.id.mySimpleXYPlot);</code> is present in 1st activity.</p>
  
  <p>So how can I acess <code>mySimpleXYPlot</code> in 2nd activity?</p>
  
  <p>if I use </p>
  
  <pre><code> setContentView(R.layout.main);
   mySimpleXYPlot = (XYPlot) findViewById(R.id.mySimpleXYPlot);
  </code></pre>
  
  <p>in 2nd activity, whole layout gets restarted which I don't want to happen :(</p>
  
  <p><strong>ANY HELP WILL BE APPRICIATED !</strong></p>