Sha256: 7368a8ba204ed3adb9cb295e42bcd43dcf5b408ffd9a4173f54b2474f65ae7f3

Contents?: true

Size: 993 Bytes

Versions: 10

Compression:

Stored size: 993 Bytes

Contents

module RubyApp

  module Elements

    module Mobile

      module Pages

        module Information
          require 'ruby_app/elements/mobile/navigation/back_button'
          require 'ruby_app/elements/mobile/pages/information/sessions_list'
          require 'ruby_app/elements/mobile/page'
          require 'ruby_app/elements/mobile/pages/information/session_page'

          class SessionsPage < RubyApp::Elements::Mobile::Page

            template_path(:all, File.dirname(__FILE__))

            def initialize
              super

              @back_button = RubyApp::Elements::Mobile::Navigation::BackButton.new

              @sessions_list = RubyApp::Elements::Mobile::Pages::Information::SessionsList.new
              @sessions_list.clicked do |element, event|
                RubyApp::Elements::Mobile::Pages::Information::SessionPage.new(event.item).show(event, element.options)
              end

            end

          end

        end

      end

    end

  end

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
RubyApp-0.5.16 lib/ruby_app/elements/mobile/pages/information/sessions_page.rb
RubyApp-0.5.15 lib/ruby_app/elements/mobile/pages/information/sessions_page.rb
RubyApp-0.5.14 lib/ruby_app/elements/mobile/pages/information/sessions_page.rb
RubyApp-0.5.13 lib/ruby_app/elements/mobile/pages/information/sessions_page.rb
RubyApp-0.5.12 lib/ruby_app/elements/mobile/pages/information/sessions_page.rb
RubyApp-0.5.11 lib/ruby_app/elements/mobile/pages/information/sessions_page.rb
RubyApp-0.5.10 lib/ruby_app/elements/mobile/pages/information/sessions_page.rb
RubyApp-0.5.9 lib/ruby_app/elements/mobile/pages/information/sessions_page.rb
RubyApp-0.5.0 lib/ruby_app/elements/mobile/pages/information/sessions_page.rb
RubyApp-0.2.8 lib/ruby_app/elements/mobile/pages/information/sessions_page.rb