initialize

  1. MitchBu

    Android Question Should not Activity.RemoveViewAt() "de-initialize" a view ?

    I found it more convenient to switch layouts by hiding and showing panels, which support all the views. That way, display is instant between layouts. Before displaying a layout, I test if the panel has been intialized, and if not, then I add the layout to activity. That worked just fine, until...
  2. M

    Android Question B4XView has not Initialize method

    hi everyone, today i was coding an app and when a tried to use an B4Xview the app crashed because it was not initliazed, so i tried to do view.Initialize but the ide says that the method does not exist D: Thanks
  3. Albert Kallal

    Android Question list Initialize2 - same as stuffing array in?

    I have this wee bit of code: Dim f As String = "City,FirstName,LastName" ' field list Dim v As List ' field values v.Initialize2(Array As Object("Jasper","Albert","Kallal"))...
  4. Dave O

    Android Question testing for null vs using isInitialized?

    I'm not clear on the difference between testing an object for NULL vs. using isInitialized. I ran into this because I passed a Null value into a sub, but it crashed on an "object not initialized" error. Here's the code: tip1.addTipForArea(tempRect, Null, "foobar", "barfoo") Public Sub...
  5. H

    Android Question B4XPreferencesDialog initial values

    Hello This code I creating item programmatically: prefdialog.AddTextItem("key","title") How to programmatically initialize a default value? How to programmatically set it as mandatory or optional field? Thank you
  6. Mashiane

    B4J Question [BANAno] [SOLVED] Error 28: Calling Class Instance Subroutine

    Ola Update: I have declared the BANanoObject in Main using '$$' and everything works well, when defined in a class, dololo. The resulting outcome is explained here BANanoWebix I need to initialize an object just like jquery but this one is '$$'. 'clear the form Sub Clear 'Dim d As String...
  7. Olivier Zeegers

    Android Question result initialize randomaccessfile

    Hello, How can I verify that the initialization of a randomaccessfile went OK ? Dim OutFile As RandomAccessFile If File.Exists(File.DirDefaultExternal,"test.wav") Then File.Delete(File.DirDefaultExternal,"test.wav") End If 'Initialize the output file...
  8. MarkusR

    Wish Optional .Initialize()

    the normal syntax is Dim Obj As MyClass Obj.Initialize() but i think this part can be optional if the developer will reset/create a new object Obj.Initialize() so the default code would be Dim Obj As MyClass and i saw that if me using a library .Initialize() it not necessary how about a...
  9. Sandman

    iOS Question [SOLVED] How to know if it's not needed to initialize?

    I have this code, which I believe is correct, even though the variable isn't initialized: ' Check if we have access to the camera Dim llc As LLCamera If llc.AuthorizationDenied Then Log("Fail") End If The linter in the IDE gives me the error "Variable 'llc' was...
Top