|
|
@@ -157,26 +157,26 @@ public abstract class Model extends ViewModel implements ILifeCycle {
|
|
|
@Override
|
|
|
public final void start() {
|
|
|
Log.w("APP# Model | start", "| -------->> " + this.getClass().getSimpleName());
|
|
|
+ watchNetwork();
|
|
|
startInternal();
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public final void resume() {
|
|
|
Log.w("APP# Model | resume", "| -------->> " + this.getClass().getSimpleName());
|
|
|
- watchNetwork();
|
|
|
resumeInternal();
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public final void pause() {
|
|
|
Log.w("APP# Model | pause", "| " + this.getClass().getSimpleName() + " <<--------");
|
|
|
- stopNetworkWatching();
|
|
|
pauseInternal();
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public final void stop() {
|
|
|
Log.w("APP# Model | stop", "| " + this.getClass().getSimpleName() + " <<--------");
|
|
|
+ stopNetworkWatching();
|
|
|
stopInternal();
|
|
|
}
|
|
|
|