Would it be possible (pretty please) to consider having the Initialize return the object in place of void.
Then all manor of wondrous things are possible eg
could become
Thank you.
Then all manor of wondrous things are possible eg
B4X:
dim iv as ImageView
dim im as Image
im.Initialize("path","file.png")
iv.Initialize("someFunction")
iv.SetImage(im)
could become
B4X:
dim iv as ImageView
dim im as Image
iv.Initialize("someFunction")
iv.SetImage(im.Initialize("path","file.png"))
Thank you.