mirror of
https://github.com/Insality/druid
synced 2025-09-27 18:12:21 +02:00
add android_back component (#5)
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user