Search in sources :

Example 1 with REPAIR_COLLECTION

use of com.ichi2.async.CollectionTask.TASK_TYPE.REPAIR_COLLECTION in project AnkiChinaAndroid by ankichinateam.

the class DeckPicker method repairCollection.

// Callback method to handle repairing deck
public void repairCollection() {
    Timber.i("Repairing the Collection");
    TaskListener listener = repairCollectionTask();
    CollectionTask.launchCollectionTask(REPAIR_COLLECTION, listener);
}
Also used : TaskListener(com.ichi2.async.TaskListener)

Aggregations

TaskListener (com.ichi2.async.TaskListener)1