Android Question ImageView Array object to string

Discussion in 'Android Questions' started by ElliotHC, Jun 5, 2019.

  1. ElliotHC

    ElliotHC Active Member Licensed User

    So I have:

    Code:
    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
     
  2. ElliotHC

    ElliotHC Active Member Licensed User

    Turns out it works anyway :rolleyes:
     
  3. Star-Dust

    Star-Dust Expert Licensed User

    do you use javafx on b4A? Aren't you wrong?
     
  4. ElliotHC

    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.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice