Skip to content

CollectionView Reordering Cells, Updating with Old Cell #218

Closed
@ugiacoman

Description

@ugiacoman

Step 2: Describe your environment

  • Objective C or Swift: Swift
  • iOS version: 9.3
  • Firebase SDK version: 3.9
  • FirebaseUI version: 1.0
  • CocoaPods Version: 1.1.1

Step 3: Describe the problem:

CollectionView is updating incorrectly on reordering of the cells. I am using priority to order my datasource. Not sure if this is a bug, or there is a workaround for this.

Observed Results:

In my collectionView I am reordering cells. When I reorder cells without updating the data source, the cells fall into place. When I reorder and update the datasource, FirebaseUI thinks that it needs to populate the cell again and populates the destination cell with the old cell. When I leave the view and come back, the order is updated properly, just as it should be.

Expected Results:

  • I believe that FirebaseUI responds to datasource changes and updates the UI for you. However, this becomes a problem when the user is making UI changes, such as when reordering cells.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions