HomeRiskLevelCellConfigurator
class HomeRiskLevelCellConfigurator : HomeRiskCellConfigurator
extension HomeRiskLevelCellConfigurator: RiskLevelCollectionViewCellDelegate
Undocumented
-
Undocumented
Declaration
Swift
var buttonAction: (() -> Void)?
-
Undocumented
Declaration
Swift
var riskProviderState: RiskProvider.ActivityState
-
Undocumented
Declaration
Swift
var isButtonEnabled: Bool
-
Undocumented
Declaration
Swift
var isButtonHidden: Bool
-
Undocumented
Declaration
Swift
var detectionIntervalLabelHidden: Bool
-
Undocumented
Declaration
Swift
var lastUpdateDate: Date?
-
Undocumented
Declaration
Swift
var detectionInterval: Int
-
Undocumented
Declaration
Swift
var timeUntilUpdate: String?
-
Undocumented
Declaration
Swift
var lastUpdateDateString: String { get }
-
init(state:
isButtonEnabled: isButtonHidden: detectionIntervalLabelHidden: lastUpdateDate: detectionInterval: ) Undocumented
Declaration
Swift
init( state: RiskProvider.ActivityState, isButtonEnabled: Bool, isButtonHidden: Bool, detectionIntervalLabelHidden: Bool, lastUpdateDate: Date?, detectionInterval: Int )
-
Undocumented
Declaration
Swift
func updateButtonEnabled(_ enabled: Bool)
-
Undocumented
Declaration
Swift
func updateButtonHidden(_ hidden: Bool)
-
Undocumented
Declaration
Swift
func configure(cell _: RiskLevelCollectionViewCell)
-
Undocumented
Declaration
Swift
func setupAccessibility(_ cell: RiskLevelCollectionViewCell)
-
Convenience method that can be overwritten to configure the button without running the full configure(_:) method. This is handy when very frequent updates such as the update countdown are applied to the button.
Declaration
Swift
func configureButton(for cell: RiskLevelCollectionViewCell)
-
Declaration
Swift
func hash(into hasher: inout Swift.Hasher)
-
Declaration
Swift
static func == (lhs: HomeRiskLevelCellConfigurator, rhs: HomeRiskLevelCellConfigurator) -> Bool
-
Undocumented
Declaration
Swift
func updateButtonTapped(cell _: RiskLevelCollectionViewCell)