|
|
@@ -370,7 +370,10 @@ public class FileRecoverViewModel extends BaseViewModel {
|
|
|
}
|
|
|
|
|
|
public void scrollPosition(int lastCompletelyItemPosition, int itemCount) {
|
|
|
- if (lastCompletelyItemPosition == itemCount - 1 && scanDisposable != null && !BoxingUtil.boxing(showScanDialogEvent.getValue())) {
|
|
|
+ if (scanDisposable != null && !scanDisposable.isDisposed()) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ if (lastCompletelyItemPosition == itemCount - 1 && !BoxingUtil.boxing(showScanDialogEvent.getValue())) {
|
|
|
showTrialFinishDialog.call();
|
|
|
EventHelper.report(EventId.hf1001119, Maps.asMap(EventId.EVENT_ID, ReportUtil.getReportId(MemberType.APP_FILE_RECOVER)));
|
|
|
}
|