Make sure loader start

This commit is contained in:
M66B 2018-08-11 19:15:15 +00:00
parent a8ab0d905c
commit 606bef05d7
5 changed files with 24 additions and 0 deletions

View File

@ -319,6 +319,10 @@ public class FragmentAccount extends FragmentEx {
this.args = args;
}
protected void onStartLoading() {
forceLoad();
}
@Override
public CheckData loadInBackground() {
CheckData result = new CheckData();
@ -507,6 +511,10 @@ public class FragmentAccount extends FragmentEx {
this.args = args;
}
protected void onStartLoading() {
forceLoad();
}
@Override
public Throwable loadInBackground() {
try {

View File

@ -126,6 +126,10 @@ public class FragmentFolder extends FragmentEx {
this.args = args;
}
protected void onStartLoading() {
forceLoad();
}
@Override
public Throwable loadInBackground() {
try {

View File

@ -313,6 +313,10 @@ public class FragmentIdentity extends FragmentEx {
this.args = args;
}
protected void onStartLoading() {
forceLoad();
}
@Override
public Throwable loadInBackground() {
try {

View File

@ -739,6 +739,10 @@ public class FragmentMessage extends FragmentEx {
this.args = args;
}
protected void onStartLoading() {
forceLoad();
}
@Override
public List<EntityFolder> loadInBackground() {
DB db = DB.getInstance(getContext());

View File

@ -78,6 +78,10 @@ public abstract class SimpleLoader<T> {
this.loader = x;
}
protected void onStartLoading() {
forceLoad();
}
@Override
public Result loadInBackground() {
Result result = new Result();