dimanche 27 décembre 2015

how to listview rows should be clickable?

  1. How to set sqlite table-data to list-view in android?
  2. Moreover, how to allow list of rows to be clickable?

        ArrayAdapter adapter = new ArrayAdapter<String>(this, R.layout.listlayout,R.id.label , mobileArray);
    
        ListView listView = (ListView) findViewById(R.id.mobile_list);
        listView.setAdapter(adapter);
    
    

Aucun commentaire:

Enregistrer un commentaire