B4X FEED displaying data from to all customlistveiw rows

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: displaying data from to all customlistveiw rows است. این موضوع تا کنون 34 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع displaying data from to all customlistveiw rows
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
34
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
I need your help

I'v created ten item for customlistveiw and i'v three lable in each item now I intended to attribute some data from my database to each lable of my items but when i test my code in emulato only my item number ten shows data and rest of 9 items are empty!! here is my codes, what is my mistake and how i can show data to rest of items?


Sub Globals

'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Dim rs As ResultSet
Dim cur As Cursor
Dim sql1 As SQL
Dim jo As JavaObject
Private clv_item As CustomListView
Private Label2 As Label
Private Label1 As Label
Private Label3 As Label

End Sub

Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
Activity.LoadLayout("L_clv")

Dim xui As XUI

For i= 1 To 10
Dim br As B4XView=...



 

عقب
بالا