Skip to content

Instantly share code, notes, and snippets.

View chenanze's full-sized avatar
🏠
Working from home

Anze Chen chenanze

🏠
Working from home
View GitHub Profile
@chenanze
chenanze / Testing.java
Created September 13, 2016 12:29 — forked from daverix/Testing.java
Dagger2 sub components example
package com.example;
import javax.inject.Scope;
import javax.inject.Singleton;
import dagger.Component;
import dagger.Module;
import dagger.Provides;
import dagger.Subcomponent;