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?
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?
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