Skip to content

Instantly share code, notes, and snippets.

@marcin-adamczewski
Created June 8, 2017 20:52
Show Gist options
  • Save marcin-adamczewski/92948684e6cb44868c6d5e56123c7517 to your computer and use it in GitHub Desktop.
Save marcin-adamczewski/92948684e6cb44868c6d5e56123c7517 to your computer and use it in GitHub Desktop.
void updateFavorite(final @NonNull Integer id, final boolean favorite) {
favoritesCache.get(id).onNext(favorite);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment