Skip to content

Instantly share code, notes, and snippets.

View shubhrajps's full-sized avatar
💭
Making a dent in this universe.

SHUBHRAJ PRASAD SINGH shubhrajps

💭
Making a dent in this universe.
View GitHub Profile
@shubhrajps
shubhrajps / ExpListViewWithCheckBox.java
Created October 8, 2017 15:15 — forked from Psest328/ExpListViewWithCheckBox.java
ExpandableListView adapter with Checkboxes - BaseExpandableListAdapter that accurately tracks child checkbox states (no random checks/unchecks). This is setup for checkboxes but can be used for anything that uses true/false values
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import android.annotation.SuppressLint;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseExpandableListAdapter;