Swift UILabel.appearance() Kotlin equivalence

Swift has UILabel.appearance() whereby you can change the appearance of ALL UILabels throughout the app So you can UILabel.appearance().textColor = UIColor.brown and set all UILabel's text color to brown regardless of the screen/Activity/ViewController.

Is there a Kotlin equivalance? Whereby you can set all TextView regardless of the Activity?


Read more here: https://stackoverflow.com/questions/64896419/swift-uilabel-appearance-kotlin-equivalence

Content Attribution

This content was originally published by TheBearF8 at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: