Dear community,
working with the jDragandDrop Lib, and i am dropping an listview element (=row) and the result
of log(target) is:
target= () ListViewWrapper$MyCallBack$1@16ef04f[styleClass=cell indexed-cell list-cell]'RowText'
code:
How can i access the underlying object (@16ef04f), (which is the dropped row in the listview)?
or/and how can i access the 'RowText' (which is the content of the dropped row)?
thanks
working with the jDragandDrop Lib, and i am dropping an listview element (=row) and the result
of log(target) is:
target= () ListViewWrapper$MyCallBack$1@16ef04f[styleClass=cell indexed-cell list-cell]'RowText'
code:
B4X:
Sub dragdropTarget_DragDropped(e As DragEvent)
Dim jo As JavaObject = e
Dim target As JavaObject = jo.RunMethodJO("getTarget", Null)
Log ("target= " & target)
.
.
.
End Sub
How can i access the underlying object (@16ef04f), (which is the dropped row in the listview)?
or/and how can i access the 'RowText' (which is the content of the dropped row)?
thanks