WordPress-FluxC-Android
WordPress-FluxC-Android copied to clipboard
Consider removing invalidate from PagedListWrapper
Since we have the LIST_REQUIRES_REFRESH
ListStore
action, we probably don't need to manually invalidate the list anymore. I want to consider this after post filters is merged and possibly after working on the Woo orders to have more information.
For now, I think we should just improve LIST_REQUIRES_REFRESH
and remove the manual invalidate. The improvements would be:
- Find a better name
- Make it work with both type and unique identifiers
- Maybe include a list of item ids and check the DB for those before invalidating the lists
- Most likely split it into several actions to accomplish these ^