|
174
|
}
|
|
167
|
175
|
|
|
168
|
176
|
@Override
|
|
|
|
@@ -187,7 +195,7 @@ public class MainPresenter implements MainContract.Presenter,BaseInteractor.Inte
|
|
187
|
195
|
}
|
|
188
|
196
|
}
|
|
189
|
197
|
sessionBean.sessionPhotos = photoList;
|
|
190
|
|
- uploadView.updateSessionUploadViewAt(position);
|
|
|
198
|
+ view.updateSessionUploadViewAt(position);
|
|
191
|
199
|
}
|
|
192
|
200
|
|
|
193
|
201
|
private void registerWifiChangeReceiver() {
|
|
|
|
@@ -196,4 +204,12 @@ public class MainPresenter implements MainContract.Presenter,BaseInteractor.Inte
|
|
196
|
204
|
}
|
|
197
|
205
|
|
|
198
|
206
|
|
|
|
207
|
+ @Override
|
|
|
208
|
+ public void onBoxStatusFetched(String boxNo, String boxStatus, String boxStatusCode) {
|
|
|
209
|
+ if("0".equals(boxStatusCode)){
|
|
|
210
|
+ view.showBoxConnectedView();
|
|
|
211
|
+ }else{
|
|
|
212
|
+ view.showBoxDisconnectedView();
|
|
|
213
|
+ }
|
|
|
214
|
+ }
|
|
199
|
215
|
}
|