Interface NSFetchedResultsControllerDelegate


  • public interface NSFetchedResultsControllerDelegate
    • Method Detail

      • controllerDidChangeObjectAtIndexPathForChangeTypeNewIndexPath

        default void controllerDidChangeObjectAtIndexPathForChangeTypeNewIndexPath​(NSFetchedResultsController<?> controller,
                                                                                   java.lang.Object anObject,
                                                                                   NSIndexPath indexPath,
                                                                                   long type,
                                                                                   NSIndexPath newIndexPath)
      • controllerSectionIndexTitleForSectionName

        default java.lang.String controllerSectionIndexTitleForSectionName​(NSFetchedResultsController<?> controller,
                                                                           java.lang.String sectionName)
      • controllerDidChangeContentWithDifference

        default void controllerDidChangeContentWithDifference​(NSFetchedResultsController<?> controller,
                                                              NSOrderedCollectionDifference<NSManagedObjectID> diff)
        Called when the contents of the fetched results controller change. If this method is implemented and the controller is configured with sectionNameKeyPath = nil, no other delegate methods will be invoked. This method is only invoked if the controller's `sectionNameKeyPath` property is nil and `controller:didChangeContentWithSnapshot:` is not implemented.
      • controllerDidChangeContentWithSnapshot

        default void controllerDidChangeContentWithSnapshot​(NSFetchedResultsController<?> controller,
                                                            NSDiffableDataSourceSnapshot<java.lang.String,​NSManagedObjectID> snapshot)
        Called when the contents of the fetched results controller change. If this method is implemented, no other delegate methods will be invoked.