aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-04-14 22:09:03 -0700
committerScott Jackson <daneren2005@gmail.com>2014-04-14 22:09:03 -0700
commit6b7c6e769678a5b4c42d02da372664c4bd48f9c4 (patch)
tree81d0b57ac03639738bb75e9a6f6aa761a56b0346
parent7c29438f0ab44d1d7bad478334635758b93b0d3c (diff)
downloaddsub-6b7c6e769678a5b4c42d02da372664c4bd48f9c4.tar.gz
dsub-6b7c6e769678a5b4c42d02da372664c4bd48f9c4.tar.bz2
dsub-6b7c6e769678a5b4c42d02da372664c4bd48f9c4.zip
Update to own DragSortListView fork with bug fixes
-rw-r--r--.gitmodules2
m---------DragSortListView0
-rw-r--r--README34
3 files changed, 1 insertions, 35 deletions
diff --git a/.gitmodules b/.gitmodules
index dcb0d0b7..67ebdf40 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,6 +1,6 @@
[submodule "DragSortListView"]
path = DragSortListView
- url = https://github.com/bauerca/drag-sort-listview.git
+ url = https://github.com/daneren2005/drag-sort-listview.git
[submodule "ServerProxy"]
path = ServerProxy
url = https://github.com/daneren2005/ServerProxy.git
diff --git a/DragSortListView b/DragSortListView
-Subproject d39db07a285c9496c416cc9fd7d67bbe640e8ac
+Subproject 46fc56dc25549bf256798e159e9aba88a55f31e
diff --git a/README b/README
index ac13da98..a9e19e44 100644
--- a/README
+++ b/README
@@ -6,8 +6,6 @@ git submodule update
Go to DragSortListView/library, and ServerProxy and build project files with:
android update project --path ./
-Replace the file DragSortListView/library/libs/android-support-v4.jar with the one from main projects libs/
-
Roadmap of major planned features in rough order that I plan to work on them in (little features get sprinkled in wherever):
@@ -26,35 +24,3 @@ HLS Video
-Display video where album art is currently (double tap to fullscreen)
-Videos can play inline with songs
-
-I haven't felt like forking dragsortlistview properly, so local bugfixes:
-In DragSortListView.java line 741 above v.addView(child). Fixes NPE:
-if(child.getParent() != null) {
- ((ViewGroup) child.getParent()).removeView(child);
-}
-
-In DragSortListView.java line 722, inside of child != oldChild statement. Fixes checkables mixed with non-checkables not being converted:
-if(child instanceof Checkable && !(v instanceof Checkable)) {
- v = new DragSortItemViewCheckable(getContext());
- v.setLayoutParams(new AbsListView.LayoutParams(
- ViewGroup.LayoutParams.FILL_PARENT,
- ViewGroup.LayoutParams.WRAP_CONTENT));
-} else if(!(child instanceof Checkable) && v instanceof Checkable) {
- v = new DragSortItemView(getContext());
- v.setLayoutParams(new AbsListView.LayoutParams(
- ViewGroup.LayoutParams.FILL_PARENT,
- ViewGroup.LayoutParams.WRAP_CONTENT));
-} else {
- // shouldn't get here if user is reusing convertViews
- // properly
- if (oldChild != null) {
- v.removeViewAt(0);
- }
-}
-v.addView(child);
-
-In DragSortController.java line 380, first thing in onScroll:
-if(e1 == null || e2 == null) {
- return false;
-}
-