Hi all,
I just read the api regarding to the spinner method, after research and follow to what it said nothing appear on the simulator,
I am trying to create a spinner to display on my device, here is the code:
local widget = require( “widget” )
– Create a default spinner (using widget.setTheme)
local spinnerDefault = widget.newSpinner
{
left = 150,
top = 150,
sheet = “refresh.png”,
data = { width = 44, height = 44, numFrames = 1, sheetContentWidth = 44, sheetContentHeight = 44},
width=44,
height=44,
startFrame = 1, frameCount = 1,
time = 1000
}
spinnerDefault:start();
spinnerDefault:stop();
what’s wrong with this code
Keat