Bug? SwiftButton bug

lucasheer

Active Member
Licensed User
Longtime User
Hello!

I am porting my B4A application to B4i, and I ran into a small issue.

I have a CustomListView, and I have a panel with a SwiftButton on it. The button is used to open up a management view.

In B4A, it works perfect!

In B4i, the SwiftButton only registers long clicks. The short clicks will invoke the CLV's ItemClick event.

I tried the normal B4i button, and it works perfectly. I assume it's just a problem with the SwiftButton.

Here is my temporary fix:

B4X:
Sub newsCLV_ItemClick (Index As Int, Value As Object)
    If(Index= 0) Then
        btnManageSubscriptions_Click
    End If
End Sub
 
Top