use of com.ichi2.async.CollectionTask.TASK_TYPE.LOAD_DECK_COUNTS in project AnkiChinaAndroid by ankichinateam.
the class DeckPickerFragment method updateDeckList.
public void updateDeckList(boolean quick) {
// CollectionHelper.getInstance().closeCollection(true,"refresh");
TaskListener listener = updateDeckListListener();
CollectionTask.TASK_TYPE taskType = quick ? LOAD_DECK_QUICK : LOAD_DECK_COUNTS;
CollectionTask.launchCollectionTask(taskType, listener);
}
Aggregations