How do I get whatever is in text View to stay there when I close the activity and then reopen it?
public class ViewOffense extends Activity {
    EditOffense eo = new EditOffense();
    List<String> rosterLog;
    List<String> oneRow;
    Bundle bundle;
    static String selection;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        // TODO Auto-generated method stub
        super.onCreate(savedInstanceState);
        setContentView(R.layout.viewoffense);
        bundle = this.getIntent().getExtras();
        if (bundle != null) {
            String selection = bundle.getString("key");
            TextView textview = (TextView) findViewById(R.id.textView2);
            textview.setText(selection);
        }
    }
}
 
     
     
     
     
    