- canDelete = true;
+ if(photoBean.canDelete){
presenter.swipeToDeletePhoto(position);
adapter.removePhotoAtIndex(position);
- }else{
- canDelete = false;
}
}
};
@@ -98,7 +98,7 @@ public class SessionPresenter implements SessionContract.Presenter, SessionInter |
||
98 | 98 |
return; |
99 | 99 |
} |
100 | 100 |
if(BuildConfig.isTestMode){ |
101 |
- if(photoList!=null && photoList.size()>20){ |
|
101 |
+ if(photoList!=null && photoList.size()>10){ |
|
102 | 102 |
interactor.endSession(); |
103 | 103 |
return; |
104 | 104 |
} |