Skip to content

Instantly share code, notes, and snippets.

local widget = require "widget"
local scroller = widget.newScrollView{
width = 320,
height = 480,
scrollWidth = 700,
scrollHeight = 1000
}
-- event listener for button widget
local function onButtonEvent( event )