Hi..
I was looking to add a string of days as items to a combobox and also change typeface:
But I am getting error:
java.lang.ClassCastException: java.lang.Object[] cannot be cast to java.lang.String[]
Halp..Thnx
I was looking to add a string of days as items to a combobox and also change typeface:
B4X:
Dim cs As CSBuilder
Dim myFont As Typeface = Typeface.CreateNew(Typeface.LoadFromAssets("myfont.ttf"), Typeface.STYLE_BOLD)
Dim s() As String =Array ("-","7","10","14","30","60","90","180","365")
For i=0 To s.Length -1
spnrmks.cmbBox.Addall(Array (cs.Initialize.Typeface(myFont).Append(i).PopAll))
Next
But I am getting error:
java.lang.ClassCastException: java.lang.Object[] cannot be cast to java.lang.String[]
Halp..Thnx