Skip to content
Discussion options

You must be logged in to vote

Hey @MariaJsn,

All you have to do is just cache the followers you get in the first request (using Realm, CoreData, UserDefaults, or whatever you're relying on) and compare them with the ones you get on refresh.

If you only care to know whether a change occurred or not, simply pass the same rank token in every refresh: only fetch 1 page, if you get a different next_id it means the list has changed.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@sbertix
Comment options

@bezpalyi

This comment was marked as off-topic.

@sbertix

This comment was marked as off-topic.

@bezpalyi

This comment was marked as off-topic.

@sbertix

This comment was marked as off-topic.

Answer selected by sbertix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants