class PMScreen

http://hipbyte.myjetbrains.com/youtrack/issue/RM-773 - can't put this in a module yet :(

module ProMotion

Attributes

view[RW]

Public Instance Methods

load_view() click to toggle source
# File lib/project/pro_motion/fragments/pm_screen.rb, line 41
def load_view
  Potion::FrameLayout.new(self.activity)
end
onActivityCreated(saved_instance_state) click to toggle source
Calls superclass method
# File lib/project/pro_motion/fragments/pm_screen.rb, line 45
def onActivityCreated(saved_instance_state)
  mp "PMScreen onActivityCreated" if RMQ.debugging?

  super

  @view.rmq_data.is_screen_root_view = true

  self.rmq.build(@view)

  if self.class.rmq_style_sheet_class
    self.rmq.stylesheet = self.class.rmq_style_sheet_class
    @view.rmq.apply_style(:root_view) #if @view.rmq.stylesheet.respond_to?(:root_view)
  end

  build_and_tag_xml_views

  set_title
  on_load
  on_activity_created
end
onAttach(activity) click to toggle source
Calls superclass method
# File lib/project/pro_motion/fragments/pm_screen.rb, line 9
def onAttach(activity)
  super
  activity.on_fragment_attached(self) if activity.respond_to?(:on_fragment_attached)
  on_attach(activity)
end
onCreate(bundle) click to toggle source
Calls superclass method
# File lib/project/pro_motion/fragments/pm_screen.rb, line 16
def onCreate(bundle); super; on_create(bundle); end
onCreateView(inflater, parent, saved_instance_state) click to toggle source
Calls superclass method
# File lib/project/pro_motion/fragments/pm_screen.rb, line 19
def onCreateView(inflater, parent, saved_instance_state)
  mp "PMScreen onCreateView #{self.class}" if RMQ.debugging?
  super

  self.cleanup

  if @xml_resource = self.class.xml_resource
    @view = inflater.inflate(r(:layout, @xml_resource), parent, false)
  else
    v = load_view
    @view ||= v
    @view.setId Potion::ViewIdGenerator.generate
  end

  set_up_action_bar(self.class.action_bar_options)

  on_create_view(inflater, parent, saved_instance_state)

  @view
end
onDestroy() click to toggle source
Calls superclass method PMScreenModule#onDestroy
# File lib/project/pro_motion/fragments/pm_screen.rb, line 86
def onDestroy; super; on_destroy; end
onDestroyView() click to toggle source
Calls superclass method
# File lib/project/pro_motion/fragments/pm_screen.rb, line 83
def onDestroyView; super; on_destroy_view; end
onDetach() click to toggle source
Calls superclass method
# File lib/project/pro_motion/fragments/pm_screen.rb, line 89
def onDetach
  super
  on_detach
  self.activity.on_fragment_detached(self) if self.activity.respond_to?(:on_fragment_detached)
end
onPause() click to toggle source
Calls superclass method
# File lib/project/pro_motion/fragments/pm_screen.rb, line 77
def onPause; super; on_pause; end
onResume() click to toggle source
Calls superclass method
# File lib/project/pro_motion/fragments/pm_screen.rb, line 72
def onResume; super; on_resume; end
onStart() click to toggle source
Calls superclass method
# File lib/project/pro_motion/fragments/pm_screen.rb, line 68
def onStart; super; on_start; end
onStop() click to toggle source
Calls superclass method
# File lib/project/pro_motion/fragments/pm_screen.rb, line 80
def onStop; super; on_stop; end
on_activity_created() click to toggle source
# File lib/project/pro_motion/fragments/pm_screen.rb, line 66
def on_activity_created; end
on_appear()
Alias for: on_start
on_attach(activity) click to toggle source
# File lib/project/pro_motion/fragments/pm_screen.rb, line 14
def on_attach(activity); end
on_create(bundle) click to toggle source
# File lib/project/pro_motion/fragments/pm_screen.rb, line 17
def on_create(bundle); end
on_create_menu(menu) click to toggle source
# File lib/project/pro_motion/fragments/pm_screen.rb, line 75
def on_create_menu(menu); end
on_create_view(inflater, parent, saved_instance_state) click to toggle source
# File lib/project/pro_motion/fragments/pm_screen.rb, line 39
def on_create_view(inflater, parent, saved_instance_state); end
on_destroy() click to toggle source
# File lib/project/pro_motion/fragments/pm_screen.rb, line 87
def on_destroy; end
on_destroy_view() click to toggle source
# File lib/project/pro_motion/fragments/pm_screen.rb, line 84
def on_destroy_view; end
on_detach() click to toggle source
# File lib/project/pro_motion/fragments/pm_screen.rb, line 94
def on_detach; end
on_load() click to toggle source
# File lib/project/pro_motion/fragments/pm_screen.rb, line 65
def on_load; end
on_pause() click to toggle source
# File lib/project/pro_motion/fragments/pm_screen.rb, line 78
def on_pause; end
on_resume() click to toggle source
# File lib/project/pro_motion/fragments/pm_screen.rb, line 73
def on_resume; end
on_start() click to toggle source
# File lib/project/pro_motion/fragments/pm_screen.rb, line 69
def on_start; end
Also aliased as: on_appear
on_stop() click to toggle source
# File lib/project/pro_motion/fragments/pm_screen.rb, line 81
def on_stop; end