commit | c7a070f90a47ea658c36185c65ba8dcc7f2b09b9 | [log] [tgz] |
---|---|---|
author | Paul Westbrook <pwestbro@google.com> | Thu Apr 12 01:46:41 2012 -0700 |
committer | Paul Westbrook <pwestbro@google.com> | Thu Apr 12 01:48:42 2012 -0700 |
tree | a1f67ae9905bd890f3ef8c4a1bd7a9361fd86cc5 | |
parent | 96e2f55771413e1575fff52813726d7dc5a0d86d [diff] |
Throttle the folder loader updates With large batches of operations, the state of the folder changes a lot. This causes a lot of update in the ui to update the unread count. Instead delay the updates of the loader for 500ms from the last call to onLoadInBackground() Change-Id: I7e7872e5888c74965fd9ca1a86c668cee5a79387