-
I would I inject or get the context in the viewmodel.
There will be lots of statements and commands I will want to invoke in the viewmodel that
will need a context.
For instance this statement:
```…
-
- 推荐理由:这是一篇关于RxJava应用的优秀文章
- 原文链接:http://nerds.weddingpartyapp.com/tech/2014/12/24/implementing-an-event-bus-with-rxjava-rxbus/
- 标签:RxJava EventBus
- 来源:Android Blog
- milestone:2015/04
-
I'm super new to rx thinking, it took me like 4-5 mos to get this far in
implementing the future in my code so bare w/ me...
is it ok to use rxbus in a service?
I have network data incoming from a b…
-
Your calling
``` java
_rxBus = ((MainActivity) getActivity()).getRxBusSingleton();
```
but I dont see this method in RxBus.java??
## edit:
I see it's in the host activity. But why isn't it in the …