listview with checkbox android studio

Published: 24 September 2020
on channel: Neko Code
35k
0

Ejemplo básico de cómo utilizar un listview con checkbox en Android Studio

Versión de Android Studio Utilizada

ListView
android:id="
android:layout_width="match_parent"
android:layout_height="match_parent"
android:choiceMode="multipleChoice"

String[] colores = {
"rojo","verde","amarillo","azul","negro","rosa","blanco","morado","cafe"
};

ArrayAdapter String adapter;

ListView lvData;

lvData = findViewById(R.id.lv_data);

adapter = new ArrayAdapter String (this,
android.R.layout.simple_list_item_multiple_choice,colores);
lvData.setAdapter(adapter);


Watch video listview with checkbox android studio online without registration, duration 10 minute 40 second in high hd quality. This video was added by user Neko Code 24 September 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 35 thousand once and liked it 0 people.