info on how to check the availability of the API function
This commit is contained in:
7
samples/check-new-api-sample.lua
Normal file
7
samples/check-new-api-sample.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
function on_resume()
|
||||
if ui.show_list_dialog then
|
||||
ui:show_text("list dialog supported")
|
||||
else
|
||||
ui:show_text("list dialog is not supported")
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user