mirror of
https://github.com/android10/Android-CleanArchitecture.git
synced 2026-03-13 10:13:41 +08:00
Remove frodo for now.
This commit is contained in:
@@ -9,7 +9,6 @@ buildscript {
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:2.2.2'
|
||||
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4'
|
||||
classpath "com.fernandocejas.frodo:frodo-plugin:0.8.3"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,6 @@ buildscript {
|
||||
|
||||
apply plugin: 'com.android.library'
|
||||
apply plugin: 'com.neenbedankt.android-apt'
|
||||
apply plugin: 'com.fernandocejas.frodo'
|
||||
apply plugin: 'me.tatarka.retrolambda'
|
||||
|
||||
android {
|
||||
|
||||
@@ -21,7 +21,6 @@ import android.net.NetworkInfo;
|
||||
import com.fernandocejas.android10.sample.data.entity.UserEntity;
|
||||
import com.fernandocejas.android10.sample.data.entity.mapper.UserEntityJsonMapper;
|
||||
import com.fernandocejas.android10.sample.data.exception.NetworkConnectionException;
|
||||
import com.fernandocejas.frodo.annotation.RxLogObservable;
|
||||
import java.net.MalformedURLException;
|
||||
import java.util.List;
|
||||
import rx.Observable;
|
||||
@@ -48,7 +47,6 @@ public class RestApiImpl implements RestApi {
|
||||
this.userEntityJsonMapper = userEntityJsonMapper;
|
||||
}
|
||||
|
||||
@RxLogObservable
|
||||
@Override public Observable<List<UserEntity>> userEntityList() {
|
||||
return Observable.create(subscriber -> {
|
||||
if (isThereInternetConnection()) {
|
||||
@@ -70,7 +68,6 @@ public class RestApiImpl implements RestApi {
|
||||
});
|
||||
}
|
||||
|
||||
@RxLogObservable
|
||||
@Override public Observable<UserEntity> userEntityById(final int userId) {
|
||||
return Observable.create(subscriber -> {
|
||||
if (isThereInternetConnection()) {
|
||||
|
||||
@@ -1,10 +1,5 @@
|
||||
apply plugin: 'com.android.application'
|
||||
apply plugin: 'com.neenbedankt.android-apt'
|
||||
apply plugin: 'com.fernandocejas.frodo'
|
||||
|
||||
frodo {
|
||||
enabled = true
|
||||
}
|
||||
|
||||
android {
|
||||
def globalConfiguration = rootProject.extensions.getByName("ext")
|
||||
|
||||
@@ -28,7 +28,6 @@ import com.fernandocejas.android10.sample.presentation.internal.di.PerActivity;
|
||||
import com.fernandocejas.android10.sample.presentation.mapper.UserModelDataMapper;
|
||||
import com.fernandocejas.android10.sample.presentation.model.UserModel;
|
||||
import com.fernandocejas.android10.sample.presentation.view.UserDetailsView;
|
||||
import com.fernandocejas.frodo.annotation.RxLogSubscriber;
|
||||
import javax.inject.Inject;
|
||||
import javax.inject.Named;
|
||||
|
||||
@@ -107,7 +106,6 @@ public class UserDetailsPresenter implements Presenter {
|
||||
this.viewDetailsView.renderUser(userModel);
|
||||
}
|
||||
|
||||
@RxLogSubscriber
|
||||
private final class UserDetailsSubscriber extends DefaultSubscriber<User> {
|
||||
|
||||
@Override public void onCompleted() {
|
||||
|
||||
Reference in New Issue
Block a user