protected PrettyDialogViewController()
 {
     HeaderView = new ImageAndTitleHeaderView();
     SlideUpTitle = new SlideUpTitleView(44f) { Offset = 100f };
     NavigationItem.TitleView = SlideUpTitle;
     _backgroundHeaderView = new UIView();
 }
        public static EventHandler MakeHandler(ImageAndTitleHeaderView view)
        {
            var weakRef = new WeakReference <ImageAndTitleHeaderView>(view);

            return(new EventHandler((s, e) => weakRef.Get()._clickedSubject.OnNext(Unit.Default)));
        }
예제 #3
0
 public static EventHandler MakeHandler(ImageAndTitleHeaderView view)
 {
     var weakRef = new WeakReference<ImageAndTitleHeaderView>(view);
     return new EventHandler((s, e) => weakRef.Get()._clickedSubject.OnNext(Unit.Default));
 }