Firebase realtime database: How to listen to a specific subset of items of a node?
问题 I have the following structure within my firebase realtime database: artists ArtistID name listOfPaintings PaintingID1 PaintingID2 paintings (there can be PaintingID1 copies price PaintingID2 copies price ... PaintingIDX copies price Now I want to listen for changes of specific paintingIDs and specific ArtistIDs. For example I want to listen to PaintingID1, PaintingID6, PaintingID7, PaintingID11. My repository code so far: override fun observeThisPainting(painting: Painting,