class BlueTapeDsl {

    public static BindingFunction onToggle(@Nullable CompoundButton.OnCheckedChangeListener listener) {
        return view -> ((CompoundButton) view).setOnCheckedChangeListener(listener);
    }

}