1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 19:52:17 -05:00

Now that messageview is faster, don't start displaying the new message

until _after_ we flip.
This commit is contained in:
Jesse Vincent 2010-01-07 01:29:59 +00:00
parent 3498173834
commit 8285766506

View File

@ -909,11 +909,11 @@ public class MessageView extends K9Activity
return;
}
mLastDirection = NEXT;
displayMessage(mNextMessageUid);
if (animate)
{
mTopView.startAnimation(outToLeftAnimation());
}
displayMessage(mNextMessageUid);
next.requestFocus();
}
@ -926,11 +926,11 @@ public class MessageView extends K9Activity
}
mLastDirection = PREVIOUS;
displayMessage(mPreviousMessageUid);
if (animate)
{
mTopView.startAnimation(inFromRightAnimation());
}
displayMessage(mPreviousMessageUid);
previous.requestFocus();
}