This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public void OpenDetails () | |
| { | |
| var bundle = new MvxBundle (); | |
| bundle.WriteByTypeAsync (Place); // object type name is used as a stored key | |
| bundle.WriteBoolAsync(IsInMyGuides); // "System.Boolean" is used as a key | |
| ShowViewModel<PlaceViewModel>(bundle); | |
| } | |
| protected async override void InitFromBundle (IMvxBundle parameters) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class DroidPresenter : MvxAndroidViewPresenter | |
| { | |
| private readonly IMvxViewModelLoader _viewModelLoader; | |
| private readonly IFragmentTypeLookup _fragmentTypeLookup; | |
| private IFilterSliderHost _filterSliderHost; | |
| private TaskCompletionSource<IFragmentHost> _taskSource; | |
| private WeakReference<MvxDialogFragment> _lastDialog; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Register ("AppDelegate")] | |
| public partial class AppDelegate : ApplicationDelegate | |
| { | |
| public override bool FinishedLaunching (UIApplication app, NSDictionary options) | |
| { | |
| // common logic here | |
| SetupPushNotifications (options); | |
| return true; | |
| } |
NewerOlder