Room Query With Dynamic Values Using Placeholders
I am implementing a Room database (because I want to move away from Loaders) and I have a query that selects objects based on the IN operator: @Query(SELECT * FROM table WHERE icon
Solution 1:
I made a small mistake while implementing this feature, the code provided in onActivityCreated actually works. It's also worth mentioning that it works with String[] and List, but not with a single String: "ab,cd,ef", which was my mistake.
Post a Comment for "Room Query With Dynamic Values Using Placeholders"