Add below snippet into app's build.gradle
repositories {
maven {
url "https://dl.bintray.com/gavinlinau/android"
}
}
and
implementation "com.gavincode:checklistview:${checklistview_version}"
<com.gavincode.checklistview.ChecklistView
android:id="@+id/check_list_view"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
/>
Get all data from checklistview
contentView.getChecklistData()
set init checklist data
contentView.setChecklistData(list)