Ben Android gelişmeyi öğrenmeye başladım ve bir kitaptan bir todolist örnek takip ediyorum:"android.R.layout.simple_list_item_1" nedir?
// Create the array list of to do items
final ArrayList<String> todoItems = new ArrayList<String>();
// Create the array adapter to bind the array to the listView
final ArrayAdapter<String> aa;
aa = new ArrayAdapter<String>( this,
android.R.layout.simple_list_item_1,
todoItems
);
myListView.setAdapter(aa);
ben tam olarak bu kodu özellikle bu çizgiyi anlayamıyorum:
android.R.layout.simple_list_item_1
Ama bu neden bir parametre? Liste listemi dizimle güncellemek istedim ve cevaplardan biri bunu gösterdi. Buna neden ihtiyaç duyduğumdan emin değilim ... İşte benim sorum. Teşekkürler! http://stackoverflow.com/questions/35098789/how-to-update-the-listview-according-to-arraylist/35099000?noredirect=1#comment57929962_35099000 –