Example #1
0
 static RouteCell()
 {
     Nib = UINib.FromName("RouteCell", NSBundle.MainBundle);
 }
Example #2
0
 static SuggestionsViewCell()
 {
     Nib = UINib.FromName(nameof(SuggestionsViewCell), NSBundle.MainBundle);
 }
 public override void ViewDidLoad()
 {
     base.ViewDidLoad();
     TableView.RegisterNibForCellReuse(UINib.FromName("MyTableViewCell", null), cellIdentifier);
 }
Example #4
0
 static ProductCell()
 {
     Nib = UINib.FromName("ProductCell", NSBundle.MainBundle);
 }
 static OrderCell()
 {
     Nib = UINib.FromName("OrderCell", NSBundle.MainBundle);
 }
 static PediatricsSpecificDescriptionTableViewCell()
 {
     Nib = UINib.FromName("PediatricsSpecificDescriptionTableViewCell", NSBundle.MainBundle);
 }
 static ReservationCell()
 {
     Nib = UINib.FromName("ReservationCell", NSBundle.MainBundle);
 }
Example #8
0
 static ToolCard()
 {
     Nib = UINib.FromName("ToolCard", NSBundle.MainBundle);
 }
Example #9
0
 static GoHejaEventCell()
 {
     Nib = UINib.FromName("NitroEventCell", NSBundle.MainBundle);
 }
 static TimeEntriesLogHeaderView()
 {
     Nib = UINib.FromName(nameof(TimeEntriesLogHeaderView), NSBundle.MainBundle);
 }
 static MyCollectionViewCell()
 {
     Nib = UINib.FromName("MyCollectionViewCell", NSBundle.MainBundle);
 }
Example #12
0
 static MessagesDateHeaderViewCell()
 {
     Nib = UINib.FromName(nameof(MessagesDateHeaderViewCell), NSBundle.MainBundle);
 }
Example #13
0
 static SelectableUserCalendarViewCell()
 {
     Nib = UINib.FromName(nameof(SelectableUserCalendarViewCell), NSBundle.MainBundle);
 }
Example #14
0
 static GalleryItemPhotoViewCell()
 {
     Nib = UINib.FromName("GalleryItemPhotoViewCell", NSBundle.MainBundle);
 }
Example #15
0
 static EditingHourSupplementaryView()
 {
     Nib = UINib.FromName("EditingHourSupplementaryView", NSBundle.MainBundle);
 }
 static ReportsCalendarQuickSelectViewCell()
 {
     Nib = UINib.FromName(nameof(ReportsCalendarQuickSelectViewCell), NSBundle.MainBundle);
 }
 static BaseChecklistTableViewCell()
 {
     Nib = UINib.FromName("BaseChecklistTableViewCell", NSBundle.MainBundle);
 }
 static NoEntityInfoViewCell()
 {
     Nib = UINib.FromName(nameof(NoEntityInfoViewCell), NSBundle.MainBundle);
 }
Example #19
0
 public OperationalCertTableViewSource(UITableView tableView, PersonalProfileView personalProfileView, EditProfileView editProfileView) : base(tableView)
 {
     tableView.RegisterNibForCellReuse(UINib.FromName("OperationalCertTableViewCell", NSBundle.MainBundle), OperationalCertTableViewCell.Key);
     mPersonalProfileView = personalProfileView;
     mEditProfileView     = editProfileView;
 }
Example #20
0
 static FeedCollectionViewCell()
 {
     Nib = UINib.FromName(nameof(FeedCollectionViewCell), NSBundle.MainBundle);
 }
Example #21
0
 static SelectableTagViewCell()
 {
     Nib = UINib.FromName(nameof(SelectableTagViewCell), NSBundle.MainBundle);
 }
Example #22
0
 public MenuViewSource(MenuView menuView, UITableView tableView) : base(tableView)
 {
     this.menuView = menuView;
     tableView.RegisterNibForCellReuse(UINib.FromName("MenuProfileView", NSBundle.MainBundle), MenuProfileView.Key);
     tableView.RegisterNibForCellReuse(UINib.FromName("MenuItemCell", NSBundle.MainBundle), MenuItemCell.Key);
 }
Example #23
0
 static CustomImageTableCell()
 {
     Nib = UINib.FromName("CustomImageTableCell", NSBundle.MainBundle);
 }
Example #24
0
 static TableViewHeaderCell()
 {
     Nib = UINib.FromName("TableViewHeaderCell", NSBundle.MainBundle);
 }
 static ClientViewCell()
 {
     Nib = UINib.FromName(nameof(ClientViewCell), NSBundle.MainBundle);
 }
Example #26
0
 static TableCell()
 {
     Nib = UINib.FromName("TableCell", NSBundle.MainBundle);
 }
Example #27
0
 static MyTableViewCell()
 {
     Nib = UINib.FromName("MyTableViewCell", NSBundle.MainBundle);
 }
 public SMSInboxTableViewSource(UITableView tableView, NSString cellIdentifier) : base(tableView, new NSString("SMSInboxViewCell"))
 {
     DeselectAutomatically = false;
     tableView.RegisterNibForCellReuse(UINib.FromName("SMSInboxViewCell", NSBundle.MainBundle),
                                       cellIdentifier);
 }
Example #29
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();
            nsfwSwitch.On     = AppSettings.User.IsNsfw;
            lowRatedSwitch.On = AppSettings.User.IsLowRated;

            versionLabel.Font         = Constants.Regular12;
            notificationSettings.Font = reportButton.Font = termsButton.Font = guideButton.Font = lowRatedLabel.Font = nsfwLabel.Font = addAccountButton.TitleLabel.Font = Constants.Semibold14;
            Constants.CreateShadow(addAccountButton, Constants.R231G72B0, 0.5f, 25, 10, 12);

            _tableSource             = new AccountsTableViewSource();
            _tableSource.Accounts    = AppSettings.User.GetAllAccounts();
            _tableSource.CellAction += CellAction;

            accountsTable.Source        = _tableSource;
            accountsTable.LayoutMargins = UIEdgeInsets.Zero;
            accountsTable.RegisterClassForCellReuse(typeof(AccountTableViewCell), nameof(AccountTableViewCell));
            accountsTable.RegisterNibForCellReuse(UINib.FromName(nameof(AccountTableViewCell), NSBundle.MainBundle), nameof(AccountTableViewCell));
            accountsTable.RowHeight = 60f;

            lowRatedSwitch.Layer.CornerRadius = nsfwSwitch.Layer.CornerRadius = 16;

            var forwardImage  = new UIImageView();
            var forwardImage2 = new UIImageView();
            var forwardImage3 = new UIImageView();
            var forwardImage4 = new UIImageView();

            forwardImage4.Image = forwardImage2.Image = forwardImage3.Image = forwardImage.Image = UIImage.FromBundle("ic_forward");
            guideButton.AddSubview(forwardImage);
            termsButton.AddSubview(forwardImage2);
            reportButton.AddSubview(forwardImage3);
            notificationSettings.AddSubview(forwardImage4);

            forwardImage.AutoAlignAxisToSuperviewAxis(ALAxis.Horizontal);
            forwardImage.AutoPinEdgeToSuperviewEdge(ALEdge.Right, 0f);

            forwardImage2.AutoAlignAxisToSuperviewAxis(ALAxis.Horizontal);
            forwardImage2.AutoPinEdgeToSuperviewEdge(ALEdge.Right, 0f);

            forwardImage3.AutoAlignAxisToSuperviewAxis(ALAxis.Horizontal);
            forwardImage3.AutoPinEdgeToSuperviewEdge(ALEdge.Right, 0f);

            forwardImage4.AutoAlignAxisToSuperviewAxis(ALAxis.Horizontal);
            forwardImage4.AutoPinEdgeToSuperviewEdge(ALEdge.Right, 0f);

            var appInfoService = AppSettings.Container.Resolve <IAppInfo>();

            versionLabel.Text = AppSettings.LocalizationManager.GetText(LocalizationKeys.AppVersion, appInfoService.GetAppVersion(), appInfoService.GetBuildVersion());

            reportButton.TouchDown         += SendReport;
            termsButton.TouchDown          += ShowTos;
            guideButton.TouchDown          += ShowGuide;
            notificationSettings.TouchDown += (object sender, EventArgs e) =>
            {
                NavigationController.PushViewController(new NotificationSettingsController(), true);
            };
            lowRatedSwitch.ValueChanged += SwitchLowRated;
            nsfwSwitch.ValueChanged     += SwitchNSFW;
            SetBackButton();
            _presenter.SubscriptionsUpdated += _presenter_SubscriptionsUpdated;
            _presenter.TryCheckSubscriptions();
#if !DEBUG
            lowRatedLabel.Hidden = nsfwLabel.Hidden = nsfwSwitch.Hidden = lowRatedSwitch.Hidden = true;
#endif
        }
Example #30
0
 static TaskCellViewController()
 {
     TaskKey = new NSString(Constants.TaskCell);
     TaskNib = UINib.FromName(Constants.TaskCell, NSBundle.MainBundle);
 }