Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0da88d63 authored by Daisuke Miyakawa's avatar Daisuke Miyakawa
Browse files

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
parent 49ea2d29
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment