This repository was archived by the owner on Dec 29, 2022. It is now read-only.
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
Return snapshot data in GeoQueryEventListener #89
Closed
Description
Some thoughts / reasonings are already in this issue - #86.
In our fork we changed the listener so that we'll get the actual parsed object. What we provide into our forked GeoQuery is a parser that can fun parse(dataSnapshot: DataSnapshot): T
with that we can get the actual parsed data already in the callbacks (onKeyEntered
, onKeyExited
& onKeyMoved
).
I think it would make sense to find out of all of the use cases and then come up with a better listener API that is easy to grasp and use.
I'd propose to brainstorm about this and use this issue to track our thoughs and possible API proposals.