Android Question ImageView Array object to string

ElliotHC

Active Member
Licensed User
So I have:

B4X:
Dim Section() As ImageView


For Image_count = 1 To 10
        
        Section(Image_count).Initialize(Section(Image_count)) '<<<<<< OBJECT CONVERTED TO STRING ERROR
        Section(Image_count).SetImage(im)
        MainForm.RootPane.AddNode(Section(Image_count),230,Image_Start_Point - 80,614,254)
        Dim jo As JavaObject = Section(Image_count) ' the imageview
        Dim o As Object = jo.CreateEvent("javafx.beans.value.ChangeListener","moved",False)
        jo.runmethodJO("layoutYProperty",Null).RunMethod("addListener",Array(o)) ' make sure you choose property that will change
        
        
    Next
I need to convert the object to a string
 

Star-Dust

Expert
Licensed User
do you use javafx on b4A? Aren't you wrong?
 

ElliotHC

Active Member
Licensed User
Damn, I am writing two things at the same time.. for a Pi and Android. I posted in the wrong place.
 
Top