Improve Phone UI's horizontal swipe behavior
- fix an obvious bug in PhoneFavoriteFragment, with which sort-order and display-order preserved by the "all" adapter are just ignored. Because of that the whole "all-contacts" section has been loaded every time when its View is recreated. - stop creating two Adapters on PhoneFavoriteFragment#onCreateView(), which will cause unnecessary reload of those adapters. - use ViewPager#setOffsreenPageLimit(2) to keep all the three fragments during user's interaction. Bug: 6005454 Change-Id: I8769eeba7e5568afedea097b2d388c6ed93fcf40
Loading
Please register or sign in to comment