Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Tinashe Mzondiwa TinasheMzondiwa

🎯
Focusing
Block or report user

Report or block TinasheMzondiwa

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@TinasheMzondiwa
TinasheMzondiwa / RxFirebase.kt
Last active Nov 15, 2017
RxFirebase using kotlin
View RxFirebase.kt
import com.google.android.gms.tasks.Task
import com.google.firebase.database.*
import io.reactivex.Observable
/**
* Created by tinashe on 2017/11/15.
*/
object RxFirebase {
@TinasheMzondiwa
TinasheMzondiwa / RxFirebase.java
Created Oct 14, 2016
RxFirebase implementation. Fork from https://gist.github.com/gsoltis/86210e3259dcc6998801 with my improvements.
View RxFirebase.java
import com.google.android.gms.tasks.Task;
import com.google.firebase.database.ChildEventListener;
import com.google.firebase.database.DataSnapshot;
import com.google.firebase.database.DatabaseError;
import com.google.firebase.database.DatabaseReference;
import com.google.firebase.database.Query;
import com.google.firebase.database.ValueEventListener;
import rx.Observable;
import rx.Subscriber;
You can’t perform that action at this time.