module ProMotion::CollectionViewCellModule
Attributes
collection_screen[RW]
data_cell[RW]
Public Instance Methods
prepareForReuse()
click to toggle source
Calls superclass method
# File lib/ProMotion/collection/cell/collection_view_cell_module.rb, line 12 def prepareForReuse super self.send(:prepare_for_reuse) if self.respond_to?(:prepare_for_reuse) end
setup(data_cell, screen)
click to toggle source
# File lib/ProMotion/collection/cell/collection_view_cell_module.rb, line 7 def setup(data_cell, screen) self.collection_screen = WeakRef.new(screen) self.data_cell = data_cell end