Skip to content

Network change list #442

Closed Answered by tunjid
antoniokranjcina asked this question in Q&A
Discussion options

You must be logged in to vote

Hi there.

For synchronization to work, there needs to be som sort of token to let the app know how valid its data is relative to the network. If there are no tokens (in NiA, this is the change list), consider using a pull based approach.

In this case you may load the same data multiple times over, and there most likely won't be a syncWith() method. You VM may just call a refresh() method that goes to fetch data again. See an example of this in the architecture samples repo.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by antoniokranjcina
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants