File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,11 @@ Contents
17
17
18
18
Usage
19
19
-----
20
+
21
+ Currently library supports for new Google Firebase the followings:
22
+ - Firebase Authentication ` RxFirebaseAuth `
23
+ - Firebase Database ` RxFirebaseDatabase `
24
+
20
25
#### Use the project with your own Firebase instance
21
26
22
27
1 . Clone this repository.
36
41
37
42
``` java
38
43
final Firebase firebaseRef = new Firebase (" https://docs-examples.firebaseio.com/web/saving-data/fireblog/posts" );
39
- RxFirebase . getInstance(). observeValueEvent(firebaseRef). subscribe(new GetPostsSubscriber ());
44
+ RxFirebaseDatabase . getInstance(). observeValueEvent(firebaseRef). subscribe(new GetPostsSubscriber ());
40
45
41
46
private final class GetPostsSubscriber extends Subscriber<DataSnapshot > {
42
47
@Override public void onCompleted () {
@@ -65,7 +70,7 @@ Download
65
70
The project is available on jCenter. In your app build.gradle (or explicit module) you must add this:
66
71
```
67
72
dependencies {
68
- compile 'com.ezhome:rxfirebase:2.0.0'
73
+ compile 'com.ezhome:rxfirebase:2.0.0-alpha1 '
69
74
}
70
75
```
71
76
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ publish {
2
2
userOrg = ' ezhome'
3
3
groupId = ' com.ezhome'
4
4
artifactId = ' rxfirebase'
5
- publishVersion = ' 1 .0.0'
6
- desc = ' An RxJava implementation of Firebase Android client.'
5
+ publishVersion = ' 2 .0.0-alpha1 '
6
+ desc = ' An RxJava implementation for new Firebase Android client.'
7
7
website = ' https://github.com/ezhome/Android-RxFirebase'
8
8
}
You can’t perform that action at this time.
0 commit comments