add android_back component (#5)

This commit is contained in:
Maxim Tuprikov
2019-03-27 22:23:22 +03:00
committed by GitHub
parent 5709975ed4
commit 5e2dc34437
4 changed files with 35 additions and 4 deletions

View File

@@ -30,6 +30,11 @@ function init(self)
print("On button 3")
end)
self.druid:new_android_back(function(self, params)
print("On android back", params)
end, 2)
self.druid:new_text("text_2", "Simple text")
self.druid:new_text("text_3", "locale_text", true)
@@ -37,7 +42,6 @@ function init(self)
print("On timer end")
end)
end
function update(self, dt)