Passing a collection to GUIPropertyManager.SetProperty (1 Viewer)

mattjcurry

Retired Team Member
  • Premium Supporter
  • October 24, 2011
    261
    207
    44
    Is there a best practice way for sending a collection to GUIPropertyManager.SetProperty?

    In GUINumberPlace, it looks like they set the count and then itterate through that, however if you do not want to couple the GUI and business logic, it seems like it would be better to pass the values directly.

    I am trying to allow the chapters and jump points to be accessed by the skins and the tvprogress control specifically. I just cannot decide how to send the data.

    In GUIRadioLastFM if you look at similarArtists, they just append " " between the values. That seems simple and easy to understand, but is that the best practice?

    Thanks,
    matt
     

    Users who are viewing this thread

    Top Bottom