title: Coming back to the previous Activity State
body: <p>I have an Activity named A,
  in this, a ListView and one button are there.After clicking on this button,List View is shown and from this list view, by clicking on a its items, I can move to Activity B.</p>
  
  <p>Now the problem is this when I come back from Activity B -> Activity A then, I see the Button only not the list view.</p>
  
  <p>because I am calling intent of Activity A..</p>
  
  <p>Code</p>
  
  <pre><code>@Override
      public void onBackPressed() {
          // TODO Auto-generated method stub
          Intent i;
  
              i = new Intent(B.this, A.class);
  
          startActivity(i);
          finish();
          super.onBackPressed();
      }
  </code></pre>
  
  <p>In Activity B, I have the above implementation and i am using finish() in On Pause() condition also.</p>
  
  <p>I want to see the List View with buttons.
  Do i need to call whole code again to show the ListView or is there any other way to resolve this problem??
  Is there any way to save the previous activity view?</p>