Commit 5a4b661
Support for joins (#276)
* Update FirebaseArray to support joined data
* Update FirebaseRecyclerAdapter to support joined data
* Refactor setOnChangedListener
* Update FirebaseListAdapter to support joined data
* Refactor setOnChangedListener
* Update README.md
* Handle key not found at dataRef
* Handle onCancelled
* Handle onCancelled
* Handle onCancelled
* Update FirebaseArray.java
* Update FirebaseArray.java
* Update FirebaseListAdapter.java
* Update FirebaseRecyclerAdapter.java
* Update FirebaseArray.java
* Update FirebaseListAdapter.java
* Log a warning instead of exception if key is missing
* Extract indexed array into separate class
* Fix formatting
* Fix formatting
* Fix formatting
* Refactor adapters
* Fix IndexOutOfBoundsException and list item not being removed
* Make getIndexForKey available to implementations
* Code cleanup and optimizations
* Add copyright
* Update FirebaseRecyclerAdapter.java
* Re-architected IndexFirebaseArray
* Fix Intellij's annoying obsession with putting interfaces at the bottom of a class
* Update IndexFirebaseArray.java
* Fix "key not found" exception when a key from the key ref has a null value in the data ref location.
* Extract FirebaseIndexListAdapter
* Cleanup for final review
* Cleanup for final review
* Update FirebaseArray.java
* Refactoring of IndexFirebaseArray
* Update README.md
* Improved cleanup speed.
* Renames
* Handle case when dataSnapshot value is null
* Update IndexFirebaseArray.java
* Renamed to FirebaseIndexArray
* Cleanup
* Fixed condition in isMatch method
* Tweaks
* Add back supers
* Update FirebaseArray.java
* Make life compile
* Update FirebaseArray.java
* Fix package statements moving around
* Cleanup
* Add clearer error logging
* Updated documentation
* Even clearer
* Relax query requirements and remove unnecessary constructors.
* fix typo
* tests part 1
* test travis should fail
* tests part 2
* Remove unnecessary constructor
* Fix typo
* Fix nits1 parent cce75a8 commit 5a4b661
File tree
14 files changed
+860
-284
lines changed- database
- src
- androidTest/java/com/firebase/ui/database
- utils
- main/java/com/firebase/ui/database
14 files changed
+860
-284
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
Lines changed: 0 additions & 45 deletions
This file was deleted.
Lines changed: 30 additions & 99 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | | - | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | 25 | | |
29 | 26 | | |
30 | 27 | | |
31 | 28 | | |
32 | 29 | | |
33 | 30 | | |
34 | 31 | | |
35 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | 40 | | |
72 | 41 | | |
73 | 42 | | |
74 | 43 | | |
75 | 44 | | |
76 | | - | |
| 45 | + | |
77 | 46 | | |
78 | 47 | | |
79 | 48 | | |
80 | 49 | | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
86 | 62 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | 63 | | |
95 | 64 | | |
96 | 65 | | |
| |||
113 | 82 | | |
114 | 83 | | |
115 | 84 | | |
116 | | - | |
| 85 | + | |
117 | 86 | | |
118 | 87 | | |
119 | 88 | | |
| |||
124 | 93 | | |
125 | 94 | | |
126 | 95 | | |
| 96 | + | |
127 | 97 | | |
128 | 98 | | |
129 | | - | |
| 99 | + | |
130 | 100 | | |
131 | 101 | | |
132 | 102 | | |
| |||
140 | 110 | | |
141 | 111 | | |
142 | 112 | | |
143 | | - | |
| 113 | + | |
144 | 114 | | |
145 | 115 | | |
146 | 116 | | |
147 | 117 | | |
148 | 118 | | |
149 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
150 | 122 | | |
151 | 123 | | |
152 | 124 | | |
153 | 125 | | |
154 | 126 | | |
155 | 127 | | |
156 | | - | |
| 128 | + | |
157 | 129 | | |
158 | 130 | | |
159 | 131 | | |
160 | 132 | | |
161 | 133 | | |
162 | | - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
163 | 137 | | |
164 | 138 | | |
165 | 139 | | |
166 | 140 | | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
| 141 | + | |
0 commit comments