Class: PMActivity
- Defined in:
- lib/project/pro_motion/pm_activity.rb
Overview
module ProMotion
Direct Known Subclasses
Instance Method Summary collapse
- #clear_references ⇒ Object
- #on_create(saved_instance_state) ⇒ Object
- #onCreate(saved_instance_state) ⇒ Object
- #onDestroy ⇒ Object
- #onPause ⇒ Object
- #onResume ⇒ Object
Instance Method Details
#clear_references ⇒ Object
33 34 |
# File 'lib/project/pro_motion/pm_activity.rb', line 33 def clear_references end |
#on_create(saved_instance_state) ⇒ Object
14 15 16 |
# File 'lib/project/pro_motion/pm_activity.rb', line 14 def on_create(saved_instance_state) mp "PMActivity on_create", debugging_only: true end |
#onCreate(saved_instance_state) ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/project/pro_motion/pm_activity.rb', line 5 def onCreate(saved_instance_state) super mp "PMActivity onCreate", debugging_only: true on_create(saved_instance_state) PMApplication.current_application.context end |
#onDestroy ⇒ Object
28 29 30 31 |
# File 'lib/project/pro_motion/pm_activity.rb', line 28 def onDestroy clear_references super end |
#onPause ⇒ Object
23 24 25 26 |
# File 'lib/project/pro_motion/pm_activity.rb', line 23 def onPause clear_references super end |
#onResume ⇒ Object
18 19 20 21 |
# File 'lib/project/pro_motion/pm_activity.rb', line 18 def onResume super PMApplication.current_application.current_activity = self end |