Search in sources :

Example 6 with LoaderManager

use of android.app.LoaderManager in project k-9 by k9mail.

the class MessageListFragment method reSort.

private void reSort() {
    int toastString = sortType.getToast(sortAscending);
    Toast toast = Toast.makeText(getActivity(), toastString, Toast.LENGTH_SHORT);
    toast.show();
    LoaderManager loaderManager = getLoaderManager();
    for (int i = 0, len = accountUuids.length; i < len; i++) {
        loaderManager.restartLoader(i, null, this);
    }
}
Also used : LoaderManager(android.app.LoaderManager) Toast(android.widget.Toast)

Aggregations

LoaderManager (android.app.LoaderManager)6 Context (android.content.Context)1 Bundle (android.os.Bundle)1 Toast (android.widget.Toast)1 Account (com.fsck.k9.Account)1 ReplyToParser (com.fsck.k9.helper.ReplyToParser)1 ComposePgpInlineDecider (com.fsck.k9.message.ComposePgpInlineDecider)1 Before (org.junit.Before)1