[ios, android] show dashboard. RemovePin from dst point

This commit is contained in:
ExMix 2014-10-08 15:59:09 +03:00 committed by Alex Zolotarev
parent ff911e6098
commit 3ab7c39443
2 changed files with 9 additions and 6 deletions

View file

@ -1505,6 +1505,7 @@ public class MWMActivity extends NvEventQueueActivity
@Override
public void run()
{
deactivatePopup();
if (isSuccess)
{
Animation alphaAnimation = new AlphaAnimation(0.0f, 1.0f);

View file

@ -597,14 +597,16 @@
f.Invalidate();
f.LoadBookmarks();
f.SetRouteBuildingListener([&](bool isSuccess, string const & message, bool openDownloader)
f.SetRouteBuildingListener([self, &f](bool isSuccess, string const & message, bool openDownloader)
{
if (isSuccess)
{
// [placePage setState:PlacePageStateHidden animated:YES withCallback:YES];
// [self performAfterDelay:0.3 block:^{
// [self.routeView setVisible:YES animated:YES];
// }];
f.GetBalloonManager().RemovePin();
f.GetBalloonManager().Dismiss();
[self.containerView.placePage setState:PlacePageStateHidden animated:YES withCallback:YES];
[self performAfterDelay:0.3 block:^{
[self.routeView setVisible:YES animated:YES];
}];
}
else
{
@ -613,7 +615,7 @@
}
});
f.SetBuyProListener([&]()
f.SetBuyProListener([self]()
{
[self showBuyProDialog];
});