title: Clear cache listview android
body: <p>Ara>Button,Dizi>array.</p>
  
  <p>when i clicked button list the botton of list view? is there any body help me?
  Help,help</p>
  
  <p>ps: i tried something but not worked</p>
  
  <pre><code>   protected void onCreate(Bundle savedInstanceState) {
              super.onCreate(savedInstanceState);//
              setContentView(R.layout.activity_main);
              Ara = (Button)findViewById(R.id.btnAra);
              multitv =(MultiAutoCompleteTextView) findViewById(R.id.multiAutoCompleteTextView1);
              adapter =new ArrayAdapter&lt;String&gt;(this,android.R.layout.select_dialog_singlechoice, Neresi());
              multitv.setAdapter(adapter);
  
              multitv.setTokenizer(new MultiAutoCompleteTextView.CommaTokenizer());
  
              Aranan = (String)multitv.getText().toString();
              listView = (ListView) findViewById(R.id.list);
              listView.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE);
             Ara.setOnClickListener(this) ;
  
          }
  
  
  
      @Override
      public boolean onCreateOptionsMenu(Menu menu) {
          // Inflate the menu; this adds items to the action bar if it is present.
          getMenuInflater().inflate(R.menu.main, menu);
          return true;
      }
  
      @Override
      public void onClick(View v) {
          // TODO Auto-generated method stub
  
          if(v.getId() == R.id.btnAra)
          {
  
              String []dizi =null;
              dizi = Belirtiler("Baş");
              adapter = new ArrayAdapter&lt;String&gt;(this, android.R.layout.simple_list_item_multiple_choice,dizi);
              listView.setAdapter(adapter);
  
  
          }
  
      }
  </code></pre>