Skip to content

Code Usability #30

@robertmclaws

Description

@robertmclaws

This is a really great library, and kudos to you @andrewbares for writing it. I've been using it for several months now, and while it does the job well, sometimes it's not terribly friendly to use to build complicated layouts. I have some ideas on how to make that better, if you don't mind.

  • Some basic constructors would go a long way towards reducing the amount of space this code takes up, and would take some of the guesswork out of what is required and what isn't.
  • Some factory methods would be useful if all you want to do is spit out a Peek image and a couple of lines of text.
  • Some helper methods for managing the TileUpdateManager lifecycle and accepting these objects w/o dumping them to XML first would help devs not have to repeat code for every app they write.

I'm submitting a PR for a couple of these issues based on some of the objects I've been working with, as a jump-start. I hope they help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions