Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
public Observable<User> startSessionForUser(String username) {
return githubApiService.getUser(username)
.doOnNext(new Action1<User>() {
public void call(User user) {
private boolean startUserSession() {
User user = userDataStore.getUser();
if (user != null) {
Timber.i("Session started, user: %s", user);
userComponent = userComponentBuilder.sessionModule(new UserModule(user)).build();
return true;
return false;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment