RxCommand icon indicating copy to clipboard operation
RxCommand copied to clipboard

A UI-related rxjava component for android mvvm architecture

Results 4 RxCommand issues
Sort by recently updated
recently updated
newest added

有个场景:页面还没加载完成,viewmodel的数据已经获取了。只等view一旦订阅就发送最新的数据。这种情况如何处理?而且只希望latestObservable发送最新的。executing 之类的还是publish。

跟着Sample的学着写了一遍 发现RxCommend里的第一个参数Observable并没有响应 这里贴一下主要代码 希望作者可以帮忙debug一下 谢谢 ### ViewModel ```java public MutableLiveData mPhone; public MutableLiveData mPassword; public MutableLiveData mIsAgreement; public Variable mPhoneSubject; public Variable mPasswordSubject; public Variable mIsAgreementSubject; private Observable mPhoneValid; private...

如果RxCommand是这样创建的: ``` RxCommand cmd = RxCommand.create(new Function() { @Override public Observable apply(Object o) throws Exception { return Observable.create(new ObservableOnSubscribe() { @Override public void subscribe(ObservableEmitter e) throws Exception { e.onNext(null); //这里参数为null...