Can this class be used?

Star-Dust

Expert
Licensed User
Longtime User
To use the afternoon without commitments, I started a new class.
Only I'm not sure if it makes sense to go ahead with the work, I do not see any useful outlets to apply it in any way.
What do you think of it?

video1.gif
video3.gif

B4X:
Sub Globals
    'These global variables will be redeclared each time the activity is created.
    'These variables can only be accessed from this module.
    Dim DD As DragDrop
 
    Private Label1,Label2,Label3,Label4,Label5,Label6 As Label
    Private Place1,Place2,Place3,Place4,Place5,Place6 As Label
End Sub

Sub Activity_Create(FirstTime As Boolean)
    'Do not forget to load the layout file created with the visual designer. For example:
    Activity.LoadLayout("main")

    DD.Initialize(Me,"DD")
    DD.AddDragView(Label1).AddDragView(Label2).AddDragView(Label3).AddDragView(Label4).AddDragView(Label5).AddDragView(Label6)
    DD.AddPlaceView(Place1).AddPlaceView(Place2).AddPlaceView(Place3).AddPlaceView(Place4).AddPlaceView(Place5).AddPlaceView(Place6)
End Sub
 

Star-Dust

Expert
Licensed User
Longtime User
Maybe it can be transformed into a sort of modular menu.
The user could choose the items to be included in the menu .. I am undecided
 

Star-Dust

Expert
Licensed User
Longtime User
I can not compete with your App, I would lose ;)
 

Star-Dust

Expert
Licensed User
Longtime User
Context.Me said:
Maybe it can be transformed into a sort of modular menu.
The user could choose the items to be included in the menu .. I am undecided
I don't know what you mean but I think it might be useful as it is.
this:
video4.gif
 

Star-Dust

Expert
Licensed User
Longtime User
Then I had the experience of another library that supports dragging views (DragBoard) that was not as welcome as I imagined, I would not have spent so many hours of work
 

NJDude

Expert
Licensed User
Longtime User
Then I had the experience of another library that supports dragging views (DragBoard) that was not as welcome as I imagined, I would not have spent so many hours of work
Don't feel bad, if you like coding then keep on keeping on, forget about the "popularity" of things, like I said previously, someone somewhere might find them useful.

You write very cool things, don't stop doing that, capisci ;).
 

Star-Dust

Expert
Licensed User
Longtime User
Thank's
 

KMatle

Expert
Licensed User
Longtime User
Then I had the experience of another library that supports dragging views (DragBoard) that was not as welcome as I imagined, I would not have spent so many hours of work

Do what you do for yourself. If someone honors it, fine. There are even users who don't honor B4x as much as they should.
 

Star-Dust

Expert
Licensed User
Longtime User
Since in this part of the forum you can be OT, I spend two words about it ..
Often the things that attract me and I like to realize do not meet the tastes of direct customers or end users of Google Play.

This has always been the case, when I found myself deciding whether to follow my desire to develop or the requests of customers, I chose to follow my passion so as to make it remain so. So today my main job is another, and I keep some clients that allow me to continue the profession of developer as a job / hobby.

After 20 years I still wonder if I have to follow what others like or what stimulates me. I still do not have an answer and probably the balance between the two would be the right answer, a balance that I have not achieved.

That's why sometimes I wonder if certain jobs that start and that only please me I have to complete them.

The library that this wire is the subject of is an example :p
 

NJDude

Expert
Licensed User
Longtime User
when I found myself deciding whether to follow my desire to develop or the requests of customers, I chose to follow my passion
Atta boy!!!

Exactly, do what you like to do, if someone doesn't appreciate it, Screw them!!!, if you are happy writing code and sharing it, then that's all it matters.
 
Top