Hooking point for updateLocationInfo method #87
Description
I'd like to have an entry point into the updateLocationInfo
method.
Our use case:
All of our data is structured in a real-time database. Geohashes and data are not separated and hence data can get changed without a location change.
Example: We have point of interests that have a certain coordinate. Within those pois, we have data associated and that data can get changed. With the current implementation, we'll never see a change event for this in our listener since the location stayed the same.
Our solution: We extended the changedLocation
check to also check for a versionCode that gets incremented by every data change.
Proposal: Some generic api that can handle this and other use cases. Possibly there's a method that takes the old and current snapshot and can then return an enum whether things have been added, changed, removed or nothing (null).