Skip to content

enhancement: Device info func to singleton #42

Description

@cruisediary

how about creating variable like singleton than func size, type, version

because after once called, size, type, version never changed in same device

everytime, when use Device.size(), Device.getVersion() ... every time calculated

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions