Skip to main content

Posts

Showing posts with the label CheckBox

CheckBox in Listview Using Custom Adapter

 In this Application we just need to add a CheckBox along with the TextView. This Tutorial is an extension of ListView Using Custom Adapter  We need the following things: 1. CustomAdapter class 2. DataModel Class 3. MainActivity Class and with these classes we need only two xml files 1. activity_main.xml(xml file for MainActivity.java) 2. row.xml(To hold listview components) Here is your Code : MainActivity.java package com.AndroidDevelopmentGuru.checkbox; import java.util.ArrayList;