Search in sources :

Example 6 with TaskQueue

use of com.squareup.tape.TaskQueue in project glimmr by brk3.

the class AddToPhotosetDialogFragment method onCreate.

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    TaskQueueDelegateFactory<AddItemToPhotosetTask> factory = new TaskQueueDelegateFactory<AddItemToPhotosetTask>(mActivity);
    mQueue = new TaskQueue(factory.get(Constants.PHOTOSET_QUEUE, AddItemToPhotosetTask.class));
    setStyle(STYLE_NO_TITLE, 0);
}
Also used : AddItemToPhotosetTask(com.bourke.glimmr.tasks.AddItemToPhotosetTask) TaskQueueDelegateFactory(com.bourke.glimmr.common.TaskQueueDelegateFactory) TaskQueue(com.squareup.tape.TaskQueue)

Aggregations

TaskQueueDelegateFactory (com.bourke.glimmr.common.TaskQueueDelegateFactory)6 TaskQueue (com.squareup.tape.TaskQueue)6 AddItemToGroupTask (com.bourke.glimmr.tasks.AddItemToGroupTask)2 AddItemToPhotosetTask (com.bourke.glimmr.tasks.AddItemToPhotosetTask)2 UploadPhotoTask (com.bourke.glimmr.tasks.UploadPhotoTask)2