Can you have a look at the demo here: http://www.b4x.com/android/forum/threads/drag-and-drop-gridview.46242/
See if it is fit for you.
1. Yes (but all the rows will be one item then)I saw the demo. My compliments! The animation is great!
Only two things:
1) the grid is customizable in order to set it with only one item for each row (like a list) ?
2) The items (panels) can be customized changing layout and adding other child views (programmatically) ?
Very good work !
1. Yes (but all the rows will be one item then)
2. Yes
I'll PM you the library and a demo so you can be sure it completely suits your needs.
Did you try the Drag & drop demo of ULV?1) Yes my actually need is that all the rows will be one item.
Only two things:
The grid also handle the item ranking?
Can I have a demo (apk) where all the rows has one item ?
Thanks!
Are you saying swiping a panel should move it to the top or bottom of the listview?A panel swipe changes the panel (visual) position and it's ranking
Hi @luke2012
When you initially said 'Google Keep' like sorting animation, my tunnel vision kicked in, and I visualized a gridview sorting, but looking at what you said it seems you actually just wanted listview sorting. The ULV will do sorting for you, at 1/4th the price. Have a look at what Informatix linked in the post above.
I dont know what you meant by:
Are you saying swiping a panel should move it to the top or bottom of the listview?
I am not sure what you mean by ranking.
I dont have swipe built into the gridview (ULV does have it). I can probably use GestureDetector, and then do an insert/remove, to change the position.
Here is a demo with one column: http://www.b4x.com/android/forum/threads/drag-and-drop-gridview.46242/#post-285707
But what does changing ranking mean?The last demo that you posted is exactly what I mean.
I wish to try also ULV in order to make a choise.
@Informatix, can I try a demo apk of the ULV ?
There's a link in my post #64.@Informatix, can I try a demo apk of the ULV ?
There's a link in my post #64.
Google Keep is a kind of GridView where you move cells, and not rows, so I understand the confusion of TheDesolateSoul.
There's a link in my post #64.
Google Keep is a kind of GridView where you move cells, and not rows, so I understand the confusion of TheDesolateSoul.
I will let you know when the time comes@thedesolatesoul, thanks for your support!
I think that ULV is my solution as suggested by you.
How I can return the favour ?
25 euros minimum. This is explained in the first post of the ULV thread. In october, all donations are sent to Médecins Sans Frontières, an association that fights Ebola in Africa.@Informatix, I'm interesting in ULV. How much is it ?
Ok, I have updated post 2.
Why do you need a CursorAdapter?Has anyone looked at wrapping the recyclerview and cardview yet? I have had a quick look but it looks like too much work for me. ULV does pretty much what I need already so it's not worth the development time. But I will throw 250EUR into the pot and see if anyone bites. It will have to support a cursor adapter which is my main issue with ULV.
Why do you need a CursorAdapter?
When I look at examples of use of CursorAdapter, it does not seem to me that you have less code to write with a CursorAdapter than with ULV.Because I want to implement lazy loading cursors in one of my apps.
I've wrapped cardview. It works slightly differently from an API21 cardview in padding.Has anyone looked at wrapping the recyclerview and cardview yet? I have had a quick look but it looks like too much work for me. ULV does pretty much what I need already so it's not worth the development time. But I will throw 250EUR into the pot and see if anyone bites. It will have to support a cursor adapter which is my main issue with ULV.
I've wrapped cardview. It works slightly differently from an API21 cardview in padding.
RecyclerView is different. I think there is no (default) implementation of CursorAdapter for RecyclerView.Adapter yet.
But if you want CursorAdapter you dont need RecyclerView?
Also, for CursorAdapter, when you say you want lazy loading, do you mean you want to change the Cursor and run the query in the background?
The CursorAdapter class does not do that (it's you that initialize and pass the cursor to the class; it cannot be extended or modified in any way by the class).Lazy loading is effectively adding more records the cursor.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?