|
|
@@ -70,7 +70,7 @@ public abstract class Model extends ViewModel implements ILifeCycle, IHelperProv
|
|
|
* 네트워크의 연결 상태를 감시한다.
|
|
|
* 변동이 있을 때 presenter 로 알려준다.
|
|
|
*/
|
|
|
- private void watchNetwork() {
|
|
|
+ protected void watchNetwork() {
|
|
|
Log.w("APP# Model | watchNetwork", "| " + this.getClass().getSimpleName() + " - Start network watching............");
|
|
|
networkDisposable =
|
|
|
new NetworkWatcher().watch(App.getInstance().getContext())
|
|
|
@@ -88,7 +88,7 @@ public abstract class Model extends ViewModel implements ILifeCycle, IHelperProv
|
|
|
});
|
|
|
}
|
|
|
|
|
|
- private void stopNetworkWatching() {
|
|
|
+ protected void stopNetworkWatching() {
|
|
|
Log.w("APP# Model | stopNetworkWatching", "| " + this.getClass().getSimpleName() + " - Stop network watching___________");
|
|
|
if (null != networkDisposable) {
|
|
|
networkDisposable.dispose();
|