Is it possible to query remote in the watchOne only if local record is not found? #232
-
For example, I have chat page with list of rooms, each list tile contains subtitle with avatar and username of author of the last message. If I use the consumer widget that will watch message author - it will make query each time the message changes. If I use watchOne with remote == false, it will not query users api if there's no local one saved. |
Beta Was this translation helpful? Give feedback.
Answered by
frank06
Jun 26, 2023
Replies: 1 comment
-
Override your adapter:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
andreystavitsky
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Override your adapter: