Profile

Cover photo
Prashanth Sadasivan
Works at Amazon.com
Attends University of Michigan
83 followers|60,979 views
AboutPostsPhotosVideos

Stream

 
Does it make sense to put all the API methods in one interface and create that one interface, or to have each part of the code declare whatever interface it needs, and share a RestAdapter to build this interface?  
1
Jake Wharton's profile photo
 
We have about 6-8 interfaces with logical groupings. Things like UserService, PaymentService, MerchantService, etc.

The RestAdapter should be a singleton and the generated classes from interfaces should also be singletons. They are thread-safe. Plays very well with Dagger or Guice!
Add a comment...

Prashanth Sadasivan changed his profile photo.

Shared publicly  - 
 
Prashanth Sadasivan changed his profile photo.
1
Add a comment...

Prashanth Sadasivan

Shared publicly  - 
 
Google plus is officially cooler than Facebook 
2
Kristen Dwan's profile photoPrashanth Sadasivan's profile photoEmily Carpenter's profile photoZack Lee's profile photo
7 comments
 
my god youre missing a leg! and theres a void above and below you! Hawaii seems like a scary place
Add a comment...
Story
Tagline
Tagline
Bragging rights
I was into google plus before it was cool
Education
  • University of Michigan
    Computer Science, 2009 - present
Work
Occupation
Software Engineer
Employment
  • Amazon.com
    SDE Intern, 2011 - present
Basic Information
Gender
Male