I am trying to access xml colors into an enum. Since I don't have access to context. I am lost on how to access colors from resources.
The colors can be in any form (they can be retrived as an int or color)
So far, I have something like this
enum class NotificationType(val color: Int){
// DANGER("#F97068"),
// WARNING("#D1D646"),
// INFO("#BEBEBE"),
// SUCCESS("#76D13A")
}