Evernote / evernote-sdk-android

Evernote SDK for Android
428 stars 168 forks source link

use proxy object and interface to simplify async wrapping of methods. #34

Closed ahmedre closed 11 years ago

ahmedre commented 11 years ago

notes:

  1. this doesn't break or change existing 3rd party developer code (HelloEDAM is untouched).
  2. does not yet handle linked and business notebooks (old logic still exists for these).
  3. does not yet remove AsyncNoteStoreClient, since linked/business notebook methods would break.

if this style is okay, then we can replace AsyncNoteStoreClient instances with a proxy object for linked/business notebooks as well, and then remove AsyncNoteStoreClient altogether.

tyvsmith commented 11 years ago

I like this style, but I want to modify the code generator to gen the iface that we need. With that, we can keep up o date with any new changes to Evernote-api.