Class: PMHomeActivity
- Inherits:
-
PMNavigationActivity
- Object
- Android::App::Activity
- PMActivity
- PMNavigationActivity
- PMHomeActivity
- Defined in:
- lib/project/pro_motion/activities/pm_home_activity.rb
Overview
RM-733 module ProMotion
Constant Summary
Constants inherited from PMActivity
PMActivity::EXTRA_FRAGMENT_ARGUMENTS, PMActivity::EXTRA_FRAGMENT_CLASS
Instance Attribute Summary
Attributes inherited from PMNavigationActivity
#fragment_container, #menu, #root_fragment
Instance Method Summary collapse
Methods inherited from PMNavigationActivity
#close_fragment, #fragment, #on_create_menu, #on_fragment_attached, #on_fragment_detached, #on_options_item_selected, #open_fragment
Methods inherited from PMActivity
#clear_references, #close, #onActivityResult, #onBackPressed, #onCreate, #onCreateOptionsMenu, #onDestroy, #onOptionsItemSelected, #onPause, #onResume, #onStart, #on_activity_result, #on_create_menu, #on_resume, #open, #set_content
Instance Method Details
#home_screen_class ⇒ Object
10 11 12 |
# File 'lib/project/pro_motion/activities/pm_home_activity.rb', line 10 def home_screen_class PMApplication.current_application.home_screen_class end |
#on_create(saved_instance_state) ⇒ Object
4 5 6 7 8 |
# File 'lib/project/pro_motion/activities/pm_home_activity.rb', line 4 def on_create(saved_instance_state) mp "PMHomeActivity on_create", debugging_only: true @root_fragment ||= home_screen_class.new if home_screen_class super # Opens @root_fragment end |