|
|
@@ -24,8 +24,8 @@ public class TestPresenter extends BasePresenter {
|
|
|
}
|
|
|
|
|
|
|
|
|
- public BeanLiveData<List<TestBean1>, Thread> goWithResult() {
|
|
|
- final BeanLiveData<List<TestBean1>, Thread> liveData = getResultLiveData(true);
|
|
|
+ public BeanLiveData<List<TestBean1>, Thread> goWithWrapper() {
|
|
|
+ final BeanLiveData<List<TestBean1>, Thread> liveData = getWrapperLiveData(true);
|
|
|
Thread thread = new Thread(new Runnable() {
|
|
|
@Override
|
|
|
public void run() {
|
|
|
@@ -48,7 +48,7 @@ public class TestPresenter extends BasePresenter {
|
|
|
return liveData;
|
|
|
}
|
|
|
|
|
|
- public MvpLiveData<List<TestBean1>, Void> goWithoutResult() {
|
|
|
+ public MvpLiveData<List<TestBean1>, Void> goWithoutWrapper() {
|
|
|
final MvpLiveData<List<TestBean1>, Void> liveData = getRawLiveData(true);
|
|
|
Thread thread = new Thread(new Runnable() {
|
|
|
@Override
|