Repository Design Pattern
Krzychu Kosobudzki

Hi, Krzychu!

I have a question for using this pattern. For example we have list of news on the screen and each news item updates when we see it on the screen ( time or date… ). In this case update method calls. And now we want to click on the item and open news item on full screen and in this case we need update “read” field of news item. What correct way to sync items from list and from another screen ? How can we be sure all data updated and synced ? Do we need some controller that look at current id of current updating objects or something else ?

Thank You!

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.