README.md in ruboto-0.10.2 vs README.md in ruboto-0.11.0.rc.0
- old
+ new
@@ -152,14 +152,14 @@
require 'ruboto/activity' #scripts will not work without doing this
class FooActivity
include Ruboto::Activity
- def on_create(bundle)
+ def onCreate(bundle)
Log.v 'MYAPPNAME', 'onCreate got called!'
end
- def on_pause
+ def onPause
Log.v 'MYAPPNAME', 'onPause got called!'
end
end
The arguments passed to the methods are the same as the arguments that the java methods take. Consult the Android documentation.