Sha256: ce454140614220ce1ab85840921c719f20599ebf6285033356fa81313f66e3f5

Contents?: true

Size: 404 Bytes

Versions: 10

Compression:

Stored size: 404 Bytes

Contents

module Prime
  module AsyncFormMixin
    def reload_collection_data
      # FIXME: duplicated cells (see cached_cell error)
      return super unless async_data?
      sections = NSMutableIndexSet.new
      number_of_groups.times do |section_id|
        sections.addIndex(section_id)
      end
      collection_view.reloadSections sections, withRowAnimation: UITableViewRowAnimationFade
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
motion-prime-1.0.7 motion-prime/sections/_async_form_mixin.rb
motion-prime-1.0.6 motion-prime/sections/_async_form_mixin.rb
motion-prime-1.0.5 motion-prime/sections/_async_form_mixin.rb
motion-prime-1.0.4 motion-prime/sections/_async_form_mixin.rb
motion-prime-1.0.3 motion-prime/sections/_async_form_mixin.rb
motion-prime-1.0.2 motion-prime/sections/_async_form_mixin.rb
motion-prime-1.0.1 motion-prime/sections/_async_form_mixin.rb
motion-prime-1.0.0 motion-prime/sections/_async_form_mixin.rb
motion-prime-0.9.9.2 motion-prime/sections/_async_form_mixin.rb
motion-prime-0.9.9.1 motion-prime/sections/_async_form_mixin.rb