commit | 4d888936856ea0e9bc108aa2642ff8e21afeff44 | [log] [tgz] |
---|---|---|
author | Jin Cao <jinyan@google.com> | Thu Aug 28 14:23:27 2014 -0700 |
committer | Jin Cao <jinyan@google.com> | Thu Aug 28 22:44:09 2014 +0000 |
tree | 5ab2a00d31b3f07729a3d7094246378d73377c8a | |
parent | f7e5393eadece9813ecdcade45c5c651fa161779 [diff] |
AnimatedAdapter shouldn't show header if there is no content Instead of having a separate getContentCount, simply have the count return 0 if the content count is 0. If the content count is nonempty, then add the header count to the result. This effectively prevents the headers from ever rendering unless there is some content underneath. b/17306351 Change-Id: I04a577d4fb3e54ea201214da2ec1aac74d3a27d2