I would like to use Map collection,but there is my mistake which I don't understand it.
B4X:
Dim Products As Map =CreateMap("Low Price":1000,"Medium Price":10000,"High Price":10000000)
For Each Products As String In Products.Keys
Dim Price As Float=Products.Get(Products)
CLV1.Add(CreateItem(CLV1.AsView.Width,${Products},{Price}),"") '<==This line is my problem
Next
Dim Products As Map = CreateMap("Low Price":1000,"Medium Price":10000,"High Price":10000000)
For Each Product As String In Products.Keys
Dim Price As Float = Products.Get(Product)
CLV1.Add(CreateItem(CLV1.AsView.Width, Product, Price),"")
Next
Dim Products As Map = CreateMap("Low Price":1000,"Medium Price":10000,"High Price":10000000)
For Each Product As String In Products.Keys
Dim Price As Float = Products.Get(Product)
CLV1.Add(CreateItem(CLV1.AsView.Width, Product, Price),"")
Next
Dim Products As Map = CreateMap("Low Price":1000,"Medium Price":10000,"High Price":10000000)
For Each Product As String In Products.Keys
Dim Price As Float = Products.Get(Product)
CLV1.Add(CreateItem(CLV1.AsView.Width, Product, Price),"")
Next
I don't think you should force a member to make your post a 'Solution' He already gave you many likes. It is up to them to give the reaction they want to give. Some members get a lot of help and never make any reactions. Some others are more appreciative. Look and see in the forum how many times many of us give a very fitting answer that deserves a reaction, but the answer doen't even get rewarded.
I don't think you should force a member to make your post a 'Solution' He already gave you many likes. It is up to them to give the reaction they want to give. Some members get a lot of help and never make any reactions. Some others are more appreciative. Look and see in the forum how many times many of us give a very fitting answer that deserves a reaction, but the answer doen't even get rewarded.
I'm not seriously about his advice.He helps me learn how to do. Thank you for caring my felt,Mahares. I would like to tell everyone ,if someone need me to do anything,I have ready to learn all. Thank you all of replies.