override the onKeyEvent doesn't work
Opened this issue · 0 comments
Allan-Nava commented
I added in my ProfileViewLogic.brs
function onKeyEvent(key as String, press as Boolean) as Boolean
handled = false
? "ShowChooseProfileView key= "; key; " press= "; press
if key = "back" then
print("onKeyEvent - back")
handled = true
end if
? "handled "; handled
return handled
end function
'
but doesn't work and it calls
SGDEX: View Manager runProcedure closeView
SGDEX: fire close for this View
SGDEX: Showing previous View
signinpage key= back press= false
ShowChooseProfileView key= back press= false
onKeyEvent - back
handled true