Exemplo n.º 1
0
        public PresenterToolBarBack(IToolBarBackView view, IRouterToolBarBack router, IToolBarBackStylesHolder stylesHolder, string title)
        {
            _stylesHolder = stylesHolder;
            _title        = title ?? throw new ArgumentNullException(nameof(_title));
            _view         = view ?? throw new ArgumentNullException(nameof(_view));
            _router       = router ?? throw new ArgumentNullException(nameof(_router));

            _view.Presenter = this;
        }
Exemplo n.º 2
0
            public Holder(View view, MoreOptionsFragment fragment, IRouterOptionsCell router)
            {
                Context context = fragment.Activity;

                MoreOptionsRecyclerAdapter = new MoreOptionsRecyclerAdapter(new DataForMoreOptions(), router);

                RecyclerView = view.FindViewById <RecyclerView>(Resource.Id.moreOptions_options_recyclerView);
                RecyclerView.SetLayoutManager(new LinearLayoutManager(context));
                RecyclerView.SetAdapter(MoreOptionsRecyclerAdapter);
                ToolBarBackView = view.FindViewById <ToolBarBackView>(Resource.Id.toolbarBackButtonTitle_toolbar);
            }
Exemplo n.º 3
0
            public Holder(View view, CreatePostToolsFragment fragment)
            {
                Context context = fragment.Activity;

                ToolBarBackView = view.FindViewById <ToolBarBackView>(Resource.Id.toolbarBackButtonTitle_toolbar);
            }
Exemplo n.º 4
0
 public Holder(View view)
 {
     ToolBarBackView = view.FindViewById <ToolBarBackView>(Resource.Id.toolbarBackButtonTitle_toolbar);
 }