holder.checks.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
@Override
public void onCheckedChanged(CompoundButton cb, boolean b) {
if (count == maxLimit && b) {
cb.setChecked(false);
Toast.makeText(context,
"Limit reached!!!", Toast.LENGTH_SHORT).show();
} else if (b) {
count++;
String myCheck = listData.get(position).getPOOJA_LISTING_AMOUNT();
listData.get(position).isselected = true;
Toast.makeText(context,
myCheck + " checked!",
Toast.LENGTH_SHORT)
.show();
} else if (!b) {