nicolas2k / google-glass-api

Automatically exported from code.google.com/p/google-glass-api
1 stars 0 forks source link

[suggestion] Add a builder for Mirror API Menu Items in the Java SDK #423

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Current API for adding menus in the Mirror API Java SDK is very verbose, and 
follows a different pattern than other APIs. TimelineItem, for example, follows 
the builder pattern. Menus can too: https://gist.github.com/emil10001/9148005 

I wrote that sample to demonstrate that it wouldn't be that difficult to add a 
builder for MenuItems, though I did leave out custom menus. (I didn't need 
custom menu items for my project, so I haven't added that yet.) There is also a 
sample implementation at the bottom of the gist.

Original issue reported on code.google.com by e.john.f...@gmail.com on 25 Feb 2014 at 4:47

GoogleCodeExporter commented 8 years ago
Hello,

Thanks for the report! However, this issue does not belong in this issue 
tracker but in the Java client library one:
  https://code.google.com/p/google-api-java-client/issues/list

Closing this bug as "invalid" as there is not much we can do on the API side to 
fix this.

Best,
Alain

Original comment by ala...@google.com on 25 Feb 2014 at 5:04