toggle

Toggles a nullable boolean live data value.

This avoids repeating the read, negate, and MutableLiveData.postValue steps for boolean UI state.