static RouteCell() { Nib = UINib.FromName("RouteCell", NSBundle.MainBundle); }
static SuggestionsViewCell() { Nib = UINib.FromName(nameof(SuggestionsViewCell), NSBundle.MainBundle); }
public override void ViewDidLoad() { base.ViewDidLoad(); TableView.RegisterNibForCellReuse(UINib.FromName("MyTableViewCell", null), cellIdentifier); }
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); }
static ToolCard() { Nib = UINib.FromName("ToolCard", NSBundle.MainBundle); }
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); }
static MessagesDateHeaderViewCell() { Nib = UINib.FromName(nameof(MessagesDateHeaderViewCell), NSBundle.MainBundle); }
static SelectableUserCalendarViewCell() { Nib = UINib.FromName(nameof(SelectableUserCalendarViewCell), NSBundle.MainBundle); }
static GalleryItemPhotoViewCell() { Nib = UINib.FromName("GalleryItemPhotoViewCell", NSBundle.MainBundle); }
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); }
public OperationalCertTableViewSource(UITableView tableView, PersonalProfileView personalProfileView, EditProfileView editProfileView) : base(tableView) { tableView.RegisterNibForCellReuse(UINib.FromName("OperationalCertTableViewCell", NSBundle.MainBundle), OperationalCertTableViewCell.Key); mPersonalProfileView = personalProfileView; mEditProfileView = editProfileView; }
static FeedCollectionViewCell() { Nib = UINib.FromName(nameof(FeedCollectionViewCell), NSBundle.MainBundle); }
static SelectableTagViewCell() { Nib = UINib.FromName(nameof(SelectableTagViewCell), NSBundle.MainBundle); }
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); }
static CustomImageTableCell() { Nib = UINib.FromName("CustomImageTableCell", NSBundle.MainBundle); }
static TableViewHeaderCell() { Nib = UINib.FromName("TableViewHeaderCell", NSBundle.MainBundle); }
static ClientViewCell() { Nib = UINib.FromName(nameof(ClientViewCell), NSBundle.MainBundle); }
static TableCell() { Nib = UINib.FromName("TableCell", NSBundle.MainBundle); }
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); }
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 }
static TaskCellViewController() { TaskKey = new NSString(Constants.TaskCell); TaskNib = UINib.FromName(Constants.TaskCell, NSBundle.MainBundle); }