Android Question [SOLVED] insert and read Types into List

makis_best

Well-Known Member
Licensed User
Hi...

Can someone give me an example how I can insert a type into a list and how I can read it?

For example I have the the type "ItemType" and the list "ItemList"

B4X:
Type ItemType(Code As String, Description As String, Munit As String, Price As Double, Quantity As Double)
Public TheItem As ItemType
Public ItemList As List

How the type can insert into the list?
How I can read from list a value?

I can't find anywhere an example about it.
 

DonManfred

Expert
Licensed User
read the 3. item like erel mentioned.
Get the price from the custom type
 
Upvote 0
Top