mirror of https://github.com/M66B/FairEmail.git
Make sure loader start
This commit is contained in:
parent
a8ab0d905c
commit
606bef05d7
|
@ -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 {
|
||||
|
|
|
@ -126,6 +126,10 @@ public class FragmentFolder extends FragmentEx {
|
|||
this.args = args;
|
||||
}
|
||||
|
||||
protected void onStartLoading() {
|
||||
forceLoad();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Throwable loadInBackground() {
|
||||
try {
|
||||
|
|
|
@ -313,6 +313,10 @@ public class FragmentIdentity extends FragmentEx {
|
|||
this.args = args;
|
||||
}
|
||||
|
||||
protected void onStartLoading() {
|
||||
forceLoad();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Throwable loadInBackground() {
|
||||
try {
|
||||
|
|
|
@ -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());
|
||||
|
|
|
@ -78,6 +78,10 @@ public abstract class SimpleLoader<T> {
|
|||
this.loader = x;
|
||||
}
|
||||
|
||||
protected void onStartLoading() {
|
||||
forceLoad();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Result loadInBackground() {
|
||||
Result result = new Result();
|
||||
|
|
Loading…
Reference in New Issue