Where do you create the B4XCombox view? It needs to be done in Designer.
Open designer, add custom view, select B4XCombobox, rename to cb1 (press enter), make it taller. Save as "combo".
Select tools, generate members, expand and select B4XCombobox and event.
In B4XMainPage where it says load layout, change name to "combo".
Then use code in post # 3. Don't define bc1 again in code.
If this is new to you, download and review booklets by
@klaus.
https://www.b4x.com/android/files/Booklets.zip