How to automatically check the previously checked items?
<p>I have list of items with check boxes using this code:</p>

<pre><code>            ProcessList = (ListView) findViewById(R.id.list); 
            ProcessList.setAdapter(new ArrayAdapter&lt;String&gt;(this,android.R.layout.simple_list_item_multiple_choice,nameList ));
            ProcessList.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE);
            ProcessList.setTextFilterEnabled(true); 
</code></pre>

<p>I am getting items checked list from:</p>

<pre><code>ProcessList.setOnItemClickListener(new OnItemClickListener()
  {
@Override
    public void onItemClick(AdapterView&lt;?&gt; a, View v, int position, long id) 
        {
    selectApp = (String) ProcessList.getItemAtPosition(position);
</code></pre>

<p>I am storing all checked list in array and now I want that the previously 'checked' items automatically 'checks' on restart of my app. Is there any way to do it ? (by extending my above code) </p>
