Skip to content

Use a Config class to hold all your static values (e.g. Color) #2

@darrensapalo

Description

@darrensapalo

Instead of ...

image

Use a Config class to hold all your static values (e.g. Color).

This way you only have one list of instances for colors available in Config. When you need a color or some static values, you simply call

Config.red
or
Config.white

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions