1. Add new APIs to README and samples. 2. Added Birthdays widget
This commit is contained in:
9
samples/folding-test2.lua
Normal file
9
samples/folding-test2.lua
Normal file
@@ -0,0 +1,9 @@
|
||||
-- on_resume_when_folding = "true"
|
||||
|
||||
local counter = 0
|
||||
|
||||
function on_resume()
|
||||
counter = counter+1
|
||||
ui:show_text("refresh times: "..counter)
|
||||
ui:show_toast("on_resume called")
|
||||
end
|
||||
Reference in New Issue
Block a user