Update to use new Loader callbacks.
Change-Id: Ib478c2f2314bbae4a380539e22892d85dd9a34b5
This commit is contained in:
parent
d9b251d23b
commit
8b9f2a7284
|
@ -141,18 +141,18 @@ public class ContactStatusLoader extends AsyncTaskLoader<ContactStatusLoader.Res
|
|||
}
|
||||
|
||||
@Override
|
||||
public void startLoading() {
|
||||
protected void onStartLoading() {
|
||||
cancelLoad();
|
||||
forceLoad();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void stopLoading() {
|
||||
protected void onStopLoading() {
|
||||
cancelLoad();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void reset() {
|
||||
protected void onReset() {
|
||||
stopLoading();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -268,18 +268,18 @@ public class MoveMessageToDialog extends DialogFragment implements DialogInterfa
|
|||
}
|
||||
|
||||
@Override
|
||||
public void startLoading() {
|
||||
protected void onStartLoading() {
|
||||
cancelLoad();
|
||||
forceLoad();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void stopLoading() {
|
||||
protected void onStopLoading() {
|
||||
cancelLoad();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void reset() {
|
||||
protected void onReset() {
|
||||
stopLoading();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -92,18 +92,18 @@ public class MailboxAccountLoader extends AsyncTaskLoader<MailboxAccountLoader.R
|
|||
}
|
||||
|
||||
@Override
|
||||
public void startLoading() {
|
||||
protected void onStartLoading() {
|
||||
cancelLoad();
|
||||
forceLoad();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void stopLoading() {
|
||||
protected void onStopLoading() {
|
||||
cancelLoad();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void reset() {
|
||||
protected void onReset() {
|
||||
stopLoading();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -59,24 +59,24 @@ public class ThrottlingCursorLoader extends CursorLoader {
|
|||
}
|
||||
|
||||
@Override
|
||||
public void startLoading() {
|
||||
protected void onStartLoading() {
|
||||
if (Throttle.DEBUG) debugLog("startLoading");
|
||||
mThrottle.cancelScheduledCallback();
|
||||
super.startLoading();
|
||||
super.onStartLoading();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void forceLoad() {
|
||||
protected void onForceLoad() {
|
||||
if (Throttle.DEBUG) debugLog("forceLoad");
|
||||
mThrottle.cancelScheduledCallback();
|
||||
super.forceLoad();
|
||||
super.onForceLoad();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void stopLoading() {
|
||||
protected void onStopLoading() {
|
||||
if (Throttle.DEBUG) debugLog("stopLoading");
|
||||
mThrottle.cancelScheduledCallback();
|
||||
super.stopLoading();
|
||||
super.onStopLoading();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue