I have an display layout with two item one of them is imageView and the other one is a TextView.I'm using this layout display many things but there is a problem.Problem is let's say I run an activity uses this layout this activity fills it and kill itself.Later if I call another Activity uses that Layout it changes image but text still same.I dont want to post all of the code but If you guys needed I can post it.

```
setContentView(R.layout.info_display_tablet);
    iv = (ImageView) findViewById(R.id.imageView1);
    tx = (TextView) findViewById(R.id.textView1);
    try {
        result = MethodInfoGetter.methodRequest("CTVIslemleriGetir", "", "");
    } catch (IOException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
    } catch (XmlPullParserException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
    }
    tx.setText("");
    iv.setImageResource(R.drawable.cevre_temizlik);
    tx.setText(result.get(0).get(1).toString());

```

here is my first call let's asume and the second call's code is 

```
public class BalikesirTarih extends Activity
{
ArrayList<ArrayList> result = new ArrayList<ArrayList>();
ImageView iv;
TextView tx;
Bitmap bmp = null;

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.info_display_tablet);
    iv = (ImageView) findViewById(R.id.imageView1);
    tx = (TextView) findViewById(R.id.textView1);
    try {
        result = MethodInfoGetter.methodRequest("BalikesirTarihiGetir", "", "");
        Log.i("Balikesir tarihi log denemesi",result.toString());
    } catch (IOException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
    } catch (XmlPullParserException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
    }
    new asTask().execute();
}

private class asTask extends AsyncTask<Void , Void ,Void> {
    @Override
    protected Void doInBackground(Void... params) {

        URL url = null;
        try {
            url = new URL("http://balikesir.bel.tr/Balikesir_Tarihi/Resim_b_1.jpg");
        } catch (MalformedURLException e) {
            e.printStackTrace();
        }

        try {
            bmp = BitmapFactory.decodeStream(url.openConnection().getInputStream());
        } catch (IOException e) {
            e.printStackTrace();
        }
        return null;
    }

    @Override
    protected void onPostExecute(Void aVoid) {
        super.onPostExecute(aVoid);
        iv.setImageBitmap(bmp);
        tx.setText("");
        tx.setText(result.get(0).get(1).toString());
    }
}

@Override
protected void onPause() {
    super.onPause();
    finish();
}
}

```