I need to create a scrollable list consisting of dynamically added checkboxs, how to do this?
Below, I gave an example, but I can `t get clicked checkbox
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
I also thought about using the ListView, but it does not change the properties of an element (eg to change the label item)
			
			Below, I gave an example, but I can `t get clicked checkbox
			
				B4X:
			
		
		
		Dim Modules As List
Dim ModuleView As ScrollView
Dim ModuleM As CheckBox
Dim HPos As Int
Modules=File.ListFiles("/sdcard/modules")
HPos = 0
For i=0 TO Modules.Size-1
Dim ModuleName As String
ModuleName=Modules.Get(i)
ModuleM.Initialize("event1")
ModuleM.Text=ModuleName
ModuleList.Panel.AddView(ModuleM, 10, HPos, 300, 50)
HPos = HPos + 60
Next
ModuleList.Panel.Height = HPosI also thought about using the ListView, but it does not change the properties of an element (eg to change the label item)
 
				 
 
		 
	 
 
		