I just went through Erel's custom list view example here:
https://www.b4x.com/android/forum/t...-cross-platform-customlistview.84501/#content
I should watch more of these - they are actually helpful! - group hug for the "tiny" bit of info where it is explained the defined controls are the "last" ones whenB4XView.loadlayout() is used - that tiny tid bit was important.
The only question here is what is the Value parameter of the CustomerListView.Add(MyB4XView, "???")
What is the 2nd object "value" for? (I'm ignoring it, and all is well - but I am missing what that value is for?) The circle below:
I have this snip - it works all fine:
I get this just fine - works oh so nice.
Only part I don't grasp is the "object" parm of this:
CustomListView1.Add(CreateItem(i), obj)
Obj in above? Is that a byref return value of the object?
Perhaps not important, but I think I should at least ask/grasp what that 2nd object value is used for?
(can ignore this value parameter as I am? - it all seems to work rather well - beyond what could ask for!!! ).
Regards,
Albert D. Kallal
Edmonton, Alberta, Canada
https://www.b4x.com/android/forum/t...-cross-platform-customlistview.84501/#content
I should watch more of these - they are actually helpful! - group hug for the "tiny" bit of info where it is explained the defined controls are the "last" ones whenB4XView.loadlayout() is used - that tiny tid bit was important.
The only question here is what is the Value parameter of the CustomerListView.Add(MyB4XView, "???")
What is the 2nd object "value" for? (I'm ignoring it, and all is well - but I am missing what that value is for?) The circle below:
I have this snip - it works all fine:

I get this just fine - works oh so nice.

Only part I don't grasp is the "object" parm of this:
CustomListView1.Add(CreateItem(i), obj)
Obj in above? Is that a byref return value of the object?
Perhaps not important, but I think I should at least ask/grasp what that 2nd object value is used for?
(can ignore this value parameter as I am? - it all seems to work rather well - beyond what could ask for!!! ).
Regards,
Albert D. Kallal
Edmonton, Alberta, Canada