Replace Jetty ArrayQueue
This commit is contained in:
parent
f89cff23bf
commit
25dd053834
|
@ -35,5 +35,4 @@ dependencies {
|
|||
compile 'com.esotericsoftware:kryo:4.0.0'
|
||||
compile 'com.android.support:design:23.4.+'
|
||||
compile 'com.sothree.slidinguppanel:library:3.3.0'
|
||||
compile group: 'org.eclipse.jetty', name: 'jetty-client', version:'8.1.16.v20140903'
|
||||
}
|
||||
|
|
|
@ -4,9 +4,8 @@ import android.support.v7.widget.RecyclerView;
|
|||
import android.support.v7.widget.helper.ItemTouchHelper;
|
||||
import android.util.Log;
|
||||
|
||||
import org.eclipse.jetty.util.ArrayQueue;
|
||||
|
||||
import java.util.Queue;
|
||||
import java.util.ArrayDeque;
|
||||
import java.util.Deque;
|
||||
|
||||
import net.nullsum.audinaut.adapter.SectionAdapter;
|
||||
import net.nullsum.audinaut.fragments.SubsonicFragment;
|
||||
|
@ -22,7 +21,7 @@ public class DownloadFileItemHelperCallback extends ItemTouchHelper.SimpleCallba
|
|||
private boolean mainList;
|
||||
|
||||
private BackgroundTask pendingTask = null;
|
||||
private Queue pendingOperations = new ArrayQueue();
|
||||
private Deque pendingOperations = new ArrayDeque();
|
||||
|
||||
public DownloadFileItemHelperCallback(SubsonicFragment fragment, boolean mainList) {
|
||||
super(ItemTouchHelper.UP | ItemTouchHelper.DOWN, ItemTouchHelper.LEFT | ItemTouchHelper.RIGHT);
|
||||
|
|
Loading…
Reference in New Issue