commit | 44fc13985aed09d1fda3fdf2fd900ec13720a5df | [log] [tgz] |
---|---|---|
author | Adam Powell <adamp@google.com> | Tue Jan 29 16:29:06 2013 -0800 |
committer | Adam Powell <adamp@google.com> | Tue Jan 29 16:32:01 2013 -0800 |
tree | 435eafbbcfa64c213cf40ff59ef663c8abfc6984 | |
parent | ad9696cf0da9b65c4a52f00fe5adaa17b99a05ca [diff] |
Make ViewPager scroll to the current item after deferred populate We defer the initial populate and setCurrentItem calls to first layout when applicable. Make sure that we're scrolled so that the page is visible in this case. Bug 7974296 Change-Id: I4435a16cad325bd5c788082b553c184395ebdad1