particular dependency down here that depends on context? service layer: goo.gl/7NQVZ persistence layer: goo.gl/j5u74 http://square.github.io/dagger/ Saturday, April 20, 13
profile) { // user publicKey to do some encryption // Now, save the encrypted profile to db/api/etc } } http://square.github.io/dagger/ Saturday, April 20, 13
public void saveProfile(UserProfile profile) { // Get auth token from auth service then save // user publicKey to do some encryption // Now, save the encrypted profile to api } } http://square.github.io/dagger/ Saturday, April 20, 13
void answerAvailable(AnswerAvailableEvent event) { // TODO: React to the event somehow! } Subscribing to the event FROM A ACTIVITY Saturday, April 20, 13