Hi team,
I am still learning Tabeview widget and I came across another problem. the events work fine except for the tap or release . I got the attached error … any help or advice
[lua]
function rowListener( event )
local row = event.row
local background = event.background
local phase = event.phase
if phase == “press” then
print("Pressed Row: " … row.index)
--background:setFillColor( 196,255,156,255 )
elseif phase == “release” or phase == “tap” then
print(“Tapped and/or Released Row: " … row.index)
--background:setFillColor( 196,255,156,255 )
--row.reRender = true
elseif phase == “swipeLeft” then
print(” Swipped Left Row: " … row.index)
elseif phase == “swipeRight” then
print(" Swipped Right Row: " … row.index)
end
end
[/lua]