Snapshot Listener Firestore

Would you be able to make a video on how to switch between snapshot listeners.

By this I mean let’s say you have two table views. In one table view you have “x” amount of places. When you click on a place the second table view updates with all the documents inside that collection.

Then when you click on a new location in the first table view
The old snapshot listener is disabled and then the new snapshot listener is added to the new location updating the second table view.