Android Question Spinner with ClsChecklist

microbox

Active Member
Licensed User
Longtime User
Hello everyone, I'm using ClsChecklist by informatix. Instead of checkbox I'm using spinners. After adding items to the spinner, When selecting the items on the spinner options, I would like to determine what item was selected? Thanks for any input..and the time.

Regards,
microbox
 

microbox

Active Member
Licensed User
Longtime User
I have the solution using the following code....
B4X:
Sub spnr_ItemClick (Position As Int, Value As Object)
    For Each v As View In Activity.GetAllViewsRecursive ' spnrSecondaryType
        If v Is Spinner Then
            Dim l As Spinner
            l = v
            If l.tag = "spnrPoleType" Then
                Msgbox(Value,Position)
            End If
        End If
    Next
End Sub
 
Upvote 0
Top