Remake BoardView Library (java) in DragBoardView Library (B4A)

LucaMs

Expert
Licensed User
Longtime User
The end? Te piacerebbe :p

Non so se tu hai già in mente qualche utilizzo di questa "view"... io no. L'unica che mi viene in mente è una sorta di griglia dati (benché in quel caso difficilmente tu vorrai spostare dei dati, ma non si sa mai).

Ora bisogna vedere se riesci a fare in modo che:

1) le celle possano essere (o almeno contenere) qualunque tipo di view;
2) avere celle di dimensioni variabili (una colonna con prima cella testo, seconda immagine, ad esempio);
3) che si possa avere una cella che contenga il totale dei contenuti delle celle superiori, se questi sono numerici.
4) dirmi che ci potrei fare :)


Ops, this is not the italian forum!

You could try to improve it:

1) each cell can be any type of view;
2) cells with variable height and width;
3) the last cell in a column can display the total (or another mathematical function);
4) tell me what can I do with this powerful view :)
 
Last edited:

Star-Dust

Expert
Licensed User
Longtime User
(For my Italian friend)
Finito perché ho corretto i bug e creato tutti i movimenti. Le altre modifiche poi sono un gioco.

In effetti mi serviva.
  • Assegnare persone in Classi di Studio e spostare quando necessario con un solo gesto.
  • Creare Calendario di Lavoro per 6 giorni. Ogni giorno inserire un elenco clienti da andare (ovviamente spostare gli appuntamenti con un solo gesto :p)
  • Elenco squadre di lavoro
  • Scadenziario
  • ecc...
Qualunque view... "non crete" ... perché penso che aggiungerò che si possano cliccare e poi faccio aprire un Dialogs per poter inserire qualuque dato.
Celle variabili? Perchè?
Il numero dei totali c'è se hai fatto caso.
Gli utilizzi oltre a quelli citati ce ne possono essere diversi. Anchre per creare un organigramma
_____________________________________________________________________________
(For other)
Finished because I fix bugs and created all the moves. The other changes are then a game.

In fact I needed it.
  • Assign people to Study Classes and move them when needed with one gesture.
  • Create Work Calendar for 6 days. Each day enter a customer list to go (obviously move appointments with one gesture :p)
  • List of work teams
  • Deadlines
  • etc...
Any view ... "does not think" ... because I think I will add that you can click and then open a Dialogs to enter any given.
Variable cells? Why?
The number of totals is if you've made a case.
Uses other than those mentioned may be different. Also to create an organizational chart
 
Last edited:

Star-Dust

Expert
Licensed User
Longtime User
In fact with a imageview it makes sense.
But with EditText .. I prefer a label that is modified by clicking it. Maybe you open a window with multiple voices, One spinner.

Because a cell might be depicting a person, a location, etc ... So when you add a cell you do not just add that data but an entire record.
eg:
Name
Address
Phone

And in the cell it appears the name
 

Peter Simpson

Expert
Licensed User
Longtime User
@Star-Dust this post appears to be getting better and better every day. Not only are we watching you develop your Boardview (which by the way is looking great), but we are also getting a free Italian lesson too ;)

Cheers...
 

Cableguy

Expert
Licensed User
Longtime User
Would it be too difficult to change those child labels into panels?
I'm seeing it being used a bit like my wife uses small pieces of paper to sort out her weekly schedule...
Each bit of paper (panel) holds the client's name, the amount of work time and the city...
Using panels would allow to add views to it...
It would require, I guess, 2 panels, one which would hold the contents and another, transparent, over the "base" one to distinguish between a "hold-move-release" action and simple taps in the contents views...

BUT, it's looking really great... Too bad the animation is not as fluid as the original..
 

Star-Dust

Expert
Licensed User
Longtime User
I'm sorry, I do what I can with my little skills and knowledge.

I had asked for help at the beginning. I'm sorry I had to do it alone and I got what you have to do.

Surely i make it more fluid, maybe you will have to spend more time on these details. The panel I'm sure I can do, though it's not what I see in the original design.

With this project I wanted to take away personal satisfaction. Build a library and originally developed in Java in B4A. I chose this library because I liked it, I needed it and it seemed difficult to accomplish it. I was wrong on the last hypothesis, It was simpler than I thought.

For the moment I can not work anymore, I have to go back to my job,
 
Last edited:

Cableguy

Expert
Licensed User
Longtime User
Please don't take it as criticism, it was not the intention.
You have done a great job, and if cloning the original lib was your objective, you have well accomplished it.

As in every thing in Life,there's always room for improvement, and I was just point a few that could be implemented.
 

Star-Dust

Expert
Licensed User
Longtime User
;)
No, I just wanted to see if I could develop it in B4A.
Certainly to make it a true versatile library for many uses it would take time, but now I do not want to get back on the cookers to cook ....:p:p:p
 

Star-Dust

Expert
Licensed User
Longtime User
Please don't take it as criticism, it was not the intention.
You have done a great job, and if cloning the original lib was your objective, you have well accomplished it.

As in every thing in Life,there's always room for improvement, and I was just point a few that could be implemented.
I'm sure of this!!!
As soon as I have time, I'll see if I can improve it. But I do not promise anything I'm not so capable ;);)
 

Star-Dust

Expert
Licensed User
Longtime User
Would it be too difficult to change those child labels into panels?
I'm seeing it being used a bit like my wife uses small pieces of paper to sort out her weekly schedule...
Each bit of paper (panel) holds the client's name, the amount of work time and the city...
Using panels would allow to add views to it...
It would require, I guess, 2 panels, one which would hold the contents and another, transparent, over the "base" one to distinguish between a "hold-move-release" action and simple taps in the contents views...

BUT, it's looking really great... Too bad the animation is not as fluid as the original..

You gave me thinking and reflecting on I concluded that you are right. Making it more complete would lead to a simple pastime (so it started) at a serious library, probably my first serious library (probably because I do not know when I'll finish and if it will be fine)

Unfortunately, as I said, I have the problem of time.

Thanks for the suggestion ;)


Previously I wrote a sentence that was not translated correctly
Surely You make it more fluid, maybe you will have to spend more time on these details.
Bat I wanted to say
Surely i make it more fluid, maybe you will have to spend more time on these details.
It seemed like I was offended, but it is that google translates and sometimes I do not read how it translates
 
Last edited:

Star-Dust

Expert
Licensed User
Longtime User
Excellent @Star-Dust it looking better than the original, I do have one question though.
Did you create this for a particular project or just for fun???

Lover, blue pills PMSL :p

It took me a long time ago for an App, but then I used another solution.

Now I've seen the idea on GitHub I thought I was ready to try and recreate it for fun and mental exercise.

Inserting it into the program I needed now is too late, I should change the App code too much. But on other App I inserted it because I did not have to twist the code.

What I can say is that it started for fun and I found it very easy to use in my App.

I also wanted to create a custom ListView, with this library being the first step. I want to put in a lot of things I have in my head just a little bit of time.

Blue pills are aspirin for the headache :p
 

Star-Dust

Expert
Licensed User
Longtime User
Then I think it's important to plug it into some App otherwise you will not see any BUGS.

It's been several days since I finished the bookstore, but these days I've eliminated many bugs and many will still be there.

I should in any case thank @Cableguy for the precious suggestion that has paved my way for a wider job
 

Star-Dust

Expert
Licensed User
Longtime User
Little update of DragListview class

4a.png 4b.png 4c.png 4d.png
 
Last edited:
Top