allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
compile 'com.github.Jay-Goo:MultiSelectPopWindow:v1.0.1'
}
new MultiSelectPopWindow.Builder(this)
.setNameArray(names)
.setConfirmListener(new MultiSelectPopWindow.OnConfirmClickListener() {
@Override
public void onClick(ArrayList<Integer> indexList, ArrayList<String> selectedList) {
//do something
}
})
.setCancel("取消")
.setConfirm("完成")
.setTitle("班级列表")
.build()
.show(findViewById(R.id.mBottom));
more attributes you could set !
I hope you like this MultiSelectPopWindow. Star
is the greatest support for me! Thank U