Refactoring

This commit is contained in:
M66B
2018-12-31 07:03:48 +00:00
parent 9ab964e659
commit 7ffb44f292
17 changed files with 266 additions and 266 deletions

View File

@@ -137,7 +137,7 @@ public class FragmentOperations extends FragmentEx {
public void onClick(DialogInterface dialog, int which) {
new SimpleTask<Void>() {
@Override
protected Void onLoad(Context context, Bundle args) {
protected Void onExecute(Context context, Bundle args) {
DB db = DB.getInstance(context);
List<EntityOperation> ops = db.operation().getOperationsError();
Log.i("Operations with error count=" + ops.size());
@@ -154,7 +154,7 @@ public class FragmentOperations extends FragmentEx {
protected void onException(Bundle args, Throwable ex) {
Helper.unexpectedError(getContext(), getViewLifecycleOwner(), ex);
}
}.load(FragmentOperations.this, new Bundle());
}.execute(FragmentOperations.this, new Bundle());
}
})
.setNegativeButton(android.R.string.cancel, null)