Back to project page StockTicker.
The source code is released under:
MIT License
If you think the Android project StockTicker listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.github.premnirmal.ticker; //ww w. ja v a 2 s. co m import android.app.Application; import dagger.ObjectGraph; /** * Created by premnirmal on 12/21/14. */ public class StocksApp extends Application { private ObjectGraph objectGraph; @Override public void onCreate() { super.onCreate(); objectGraph = ObjectGraph.create(new AppModule(this)); } public <T> T get(Class<T> clazz) { return objectGraph.get(clazz); } public void inject(Object object) { objectGraph.inject(object); } }