Esempio n. 1
0
        public bool Load(IModuleContext context)
        {
            AttachedMembersRegistration.RegisterNavigationViewMembers();
            AttachedMembersRegistration.RegisterTabLayoutMembers();
            AttachedMembersRegistration.RegisterTabLayoutTabMembers();
            AttachedMembersRegistration.RegisterTextInputLayoutMembers();
            AttachedMembersRegistration.RegisterSnakbarMembers();
            AttachedMembersRegistration.RegisterBottomNavigationViewMembers();

            IToastPresenter toastPresenter;

            context.IocContainer.TryGet(out toastPresenter);
            context.IocContainer.Unbind <IToastPresenter>();
            context.IocContainer.BindToConstant <IToastPresenter>(new SnackbarToastPresenter(context.IocContainer.Get <IThreadManager>(), toastPresenter));

            return(true);
        }