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; /* www .ja v a 2 s . co m*/ import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import com.github.premnirmal.ticker.model.IStocksProvider; import javax.inject.Inject; /** * Created by premnirmal on 12/23/14. */ public class UpdateReceiver extends BroadcastReceiver { @Inject IStocksProvider stocksProvider; @Override public void onReceive(Context context, Intent intent) { ((StocksApp)context.getApplicationContext()).inject(this); stocksProvider.fetch(); } }