convertToRxJava

fun <T : Any> DataObserver<T>.convertToRxJava(): Single<T>

Converts a DataObserver back into an RxJava pipeline, as a Single.