diff options
author | daneren2005 <daneren2005@gmail.com> | 2014-01-23 07:18:28 -0800 |
---|---|---|
committer | daneren2005 <daneren2005@gmail.com> | 2014-01-23 07:18:28 -0800 |
commit | c357fe712fe8a2961258216eba6f712653e70b62 (patch) | |
tree | b9d99a4bb87d459d23701d091672dd846e768404 /README | |
parent | 8823b311386d51e840781196b987ffc4af69e578 (diff) | |
download | dsub-c357fe712fe8a2961258216eba6f712653e70b62.tar.gz dsub-c357fe712fe8a2961258216eba6f712653e70b62.tar.bz2 dsub-c357fe712fe8a2961258216eba6f712653e70b62.zip |
Added my own special lib changes to documentation
Diffstat (limited to 'README')
-rw-r--r-- | README | 27 |
1 files changed, 27 insertions, 0 deletions
@@ -28,3 +28,30 @@ 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); + |