Android Question Why is 'ss' null in this code?

bskotu555

Active Member
B4A:
Private Sub CustomListView1_ItemClick (Index As Int, Value As Object)
'    EditText2.Text=Regex.Split(Chr(10),Value)(1)
    Dim h As Int = Index
    Dim ss As String=Value
    ToastMessageShow(ss,True)
End Sub
 

Sagenut

Expert
Licensed User
Longtime User
We should know what you set in Value when creating the item for the CLV.
If it's Null probably you set it to Null.
 
Upvote 0
Top