Sha256: cd4631f1e4a302299a3f68d3ab6a34ab69252cc757f133c99f91e4925430d235

Contents?: true

Size: 397 Bytes

Versions: 10

Compression:

Stored size: 397 Bytes

Contents

module ProMotion
  module CollectionViewCellModule
    include ProMotion::Styling

    attr_accessor :data_cell, :collection_screen

    def setup(data_cell, screen)
      self.collection_screen = WeakRef.new(screen)
      self.data_cell         = data_cell
    end

    def prepareForReuse
      super
      self.send(:prepare_for_reuse) if self.respond_to?(:prepare_for_reuse)
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ProMotion-3.0.0 lib/ProMotion/collection/cell/collection_view_cell_module.rb
ProMotion-2.8.2 lib/ProMotion/collection/cell/collection_view_cell_module.rb
ProMotion-2.8.1 lib/ProMotion/collection/cell/collection_view_cell_module.rb
ProMotion-2.8.0 lib/ProMotion/collection/cell/collection_view_cell_module.rb
ProMotion-2.7.1 lib/ProMotion/collection/cell/collection_view_cell_module.rb
ProMotion-2.7.0 lib/ProMotion/collection/cell/collection_view_cell_module.rb
ProMotion-2.6.1 lib/ProMotion/collection/cell/collection_view_cell_module.rb
ProMotion-2.6.0 lib/ProMotion/collection/cell/collection_view_cell_module.rb
ProMotion-2.5.0 lib/ProMotion/collection/cell/collection_view_cell_module.rb
ProMotion-2.5.0.beta1 lib/ProMotion/collection/cell/collection_view_cell_module.rb