biggest challenge dataflow in meetup for android
play

Biggest Challenge: Dataflow in Meetup for Android Mike Castleman - PowerPoint PPT Presentation

Biggest Challenge: Dataflow in Meetup for Android Mike Castleman Meetup New York Android Developers December 3, 2013 12,604 140,916 262,080 http://meetup.github.io/stream/rsvpTicker/ . : Win, Lose, or Draw Dataflow Dataflow: Win,


  1. Biggest Challenge: Dataflow in Meetup for Android Mike Castleman Meetup New York Android Developers December 3, 2013

  2. 12,604

  3. 140,916

  4. 262,080

  5. http://meetup.github.io/stream/rsvpTicker/

  6. .

  7. : Win, Lose, or Draw Dataflow

  8. Dataflow: Win, Lose, or Draw

  9. Win, Lose, or Dataflow: Draw

  10. , Lose, or Draw Dataflow: Win

  11. $ git diff --stat 1.2.2..dataflow_30116 | tail -1 239 files changed, 6124 insertions(+), 10936 deletions(-)

  12. .

  13. /* almost ORM-like queries */ Query.getPhotosByEventId(eventId).loader(activity, PHOTO_COLS, "created DESC"); Query.getMemberEventsByTime(EPOCH, now).loader(this, PROJECTION, Query.REVERSE_TIME_ORDER);

  14. Win, , or Draw Dataflow: Lose

  15. private Intent getLoadIntent(String table, String selection, String[] select ionArgs, String sortOrder) { if ("events".equals(table)) { if (byRid) { intent = API.Event.eventDetails(rid); } else if (Query.MEMBER_PAST_TIME.equals(selection) || Query.MEMBER_FUTURE_TIME.equals(selection)) { // ...

  16. public static Parser createParser(Context context, Intent intent) { final Uri uri = intent.getData(); UriMatcher matcher = MATCHERS.get(method); switch (matcher.match(uri)) { case GET_EVENTS: String eventId = extractStringParam(intent, " event_id"); // ...

  17. .

  18. Stay in touch ฀ Email: mlc@meetup.com ฀ Twitter: @vermicelli

Recommend


More recommend